diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 355b7f9..1447a92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -64,4 +63,5 @@ jobs: - name: Run on Windows if: startsWith(matrix.os, 'windows') run: | - platformio run -e ${{ matrix.environment }} \ No newline at end of file + pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2 + platformio run -e ${{ matrix.environment }} diff --git a/src/main.c b/src/main.c index e6185eb..91f9648 100644 --- a/src/main.c +++ b/src/main.c @@ -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(); @@ -27,5 +26,5 @@ int main(void) #elif LV_USE_DEMO_MUSIC lv_demo_music(); #endif - hal_loop(); + hal_loop(); }