Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qitas committed Mar 29, 2024
1 parent 89c5274 commit 4587561
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:
uses: msys2/setup-msys2@v2
with:
msystem: mingw64
install: mingw-w64-x86_64-SDL2


- name: Setup Python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -64,4 +63,5 @@ jobs:
- name: Run on Windows
if: startsWith(matrix.os, 'windows')
run: |
platformio run -e ${{ matrix.environment }}
pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2
platformio run -e ${{ matrix.environment }}
7 changes: 3 additions & 4 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@

int main(void)
{
lv_init();

hal_setup();
lv_init();
hal_setup();
#if LV_USE_DEMO_BENCHMARK
lv_demo_benchmark_set_max_speed(true);
lv_demo_benchmark();
Expand All @@ -27,5 +26,5 @@ int main(void)
#elif LV_USE_DEMO_MUSIC
lv_demo_music();
#endif
hal_loop();
hal_loop();
}

0 comments on commit 4587561

Please sign in to comment.