Skip to content

Commit

Permalink
Merge branch 'main' into multiple-BLE-devices
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausMu committed Dec 12, 2024
2 parents 12b573a + f5a5b3d commit 77a4c86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Platformio/hardware/windows_linux/lvgl_hal_windows_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ void init_lvgl_HAL() {
// Arrange our windows nicely
int x, y;
SDL_GetWindowPosition(keypadWindow, &x, &y);
SDL_SetWindowPosition(mSimWindow, x - (SDL_HOR_RES * SDL_ZOOM) / 2 + 30, y);
SDL_SetWindowPosition(keypadWindow, x + (SDL_HOR_RES * SDL_ZOOM) / 2 - 30, y);
SDL_SetWindowPosition(mSimWindow, x - (SDL_HOR_RES * SDL_ZOOM) / 2 - 10, y);
SDL_SetWindowPosition(keypadWindow, x + (SDL_HOR_RES * SDL_ZOOM) / 2 + 10, y);

/* Tick init.
* You have to call 'lv_tick_inc()' in periodically to inform lvgl about how much time were elapsed
Expand Down

0 comments on commit 77a4c86

Please sign in to comment.