From 84ddf8b47d56a01ae1e24d60cbfb800cb2d3b608 Mon Sep 17 00:00:00 2001 From: OBONO Date: Tue, 22 Nov 2022 23:07:02 +0900 Subject: [PATCH] :recycle: Tune judgments of library version --- ardubullets/MyArduboy2.h | 2 +- chiemagari/chiemagari.ino | 2 +- chribocchi/chribocchi.ino | 2 +- evasion/MyArduboy2.h | 2 +- hollow/hollow.ino | 2 +- hopper/hopper.ino | 2 +- knightmove/knightmove.ino | 2 +- lasers/lasers.ino | 2 +- pi24k/pi24k.ino | 2 +- psicolo/psicolo.ino | 2 +- quarto/quarto.ino | 2 +- reversi/reversi.ino | 2 +- rysk/MyArduboy2.h | 2 +- samegame/samegame.ino | 2 +- stairssweep/stairssweep.ino | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ardubullets/MyArduboy2.h b/ardubullets/MyArduboy2.h index 4e59bf6..64a34f6 100644 --- a/ardubullets/MyArduboy2.h +++ b/ardubullets/MyArduboy2.h @@ -1,7 +1,7 @@ #pragma once #include -#if ARDUBOY_LIB_VER != 50201 +#if ARDUBOY_LIB_VER < 50201 #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line. diff --git a/chiemagari/chiemagari.ino b/chiemagari/chiemagari.ino index 85608b8..473f887 100644 --- a/chiemagari/chiemagari.ino +++ b/chiemagari/chiemagari.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != ARDUBOY_LIB_VER_TGT +#if ARDUBOY_LIB_VER < ARDUBOY_LIB_VER_TGT #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line. diff --git a/chribocchi/chribocchi.ino b/chribocchi/chribocchi.ino index 2dcb544..118f1d1 100644 --- a/chribocchi/chribocchi.ino +++ b/chribocchi/chribocchi.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != 10101 +#if ARDUBOY_LIB_VER < 10101 #error #endif // It may work even if you use other version. diff --git a/evasion/MyArduboy2.h b/evasion/MyArduboy2.h index 4e59bf6..64a34f6 100644 --- a/evasion/MyArduboy2.h +++ b/evasion/MyArduboy2.h @@ -1,7 +1,7 @@ #pragma once #include -#if ARDUBOY_LIB_VER != 50201 +#if ARDUBOY_LIB_VER < 50201 #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line. diff --git a/hollow/hollow.ino b/hollow/hollow.ino index cc72e91..71bd77f 100644 --- a/hollow/hollow.ino +++ b/hollow/hollow.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != 10101 +#if ARDUBOY_LIB_VER < 10101 #error #endif // It may work even if you use other version. diff --git a/hopper/hopper.ino b/hopper/hopper.ino index af7e177..d7eb796 100644 --- a/hopper/hopper.ino +++ b/hopper/hopper.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != 10101 +#if ARDUBOY_LIB_VER < 10101 #error #endif // It may work even if you use other version. diff --git a/knightmove/knightmove.ino b/knightmove/knightmove.ino index 9b34b0d..e430553 100644 --- a/knightmove/knightmove.ino +++ b/knightmove/knightmove.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != ARDUBOY_LIB_VER_TGT +#if ARDUBOY_LIB_VER < ARDUBOY_LIB_VER_TGT #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line. diff --git a/lasers/lasers.ino b/lasers/lasers.ino index c6384f0..2b5a88f 100644 --- a/lasers/lasers.ino +++ b/lasers/lasers.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != ARDUBOY_LIB_VER_TGT +#if ARDUBOY_LIB_VER < ARDUBOY_LIB_VER_TGT #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line. diff --git a/pi24k/pi24k.ino b/pi24k/pi24k.ino index 3bde61d..7a4280a 100644 --- a/pi24k/pi24k.ino +++ b/pi24k/pi24k.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != ARDUBOY_LIB_VER_TGT +#if ARDUBOY_LIB_VER < ARDUBOY_LIB_VER_TGT #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line. diff --git a/psicolo/psicolo.ino b/psicolo/psicolo.ino index 243df97..71f18e8 100644 --- a/psicolo/psicolo.ino +++ b/psicolo/psicolo.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != ARDUBOY_LIB_VER_TGT +#if ARDUBOY_LIB_VER < ARDUBOY_LIB_VER_TGT #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line. diff --git a/quarto/quarto.ino b/quarto/quarto.ino index 455295d..4d1dc1c 100644 --- a/quarto/quarto.ino +++ b/quarto/quarto.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != ARDUBOY_LIB_VER_TGT +#if ARDUBOY_LIB_VER < ARDUBOY_LIB_VER_TGT #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line. diff --git a/reversi/reversi.ino b/reversi/reversi.ino index c54bb9b..97e9cb6 100644 --- a/reversi/reversi.ino +++ b/reversi/reversi.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != ARDUBOY_LIB_VER_TGT +#if ARDUBOY_LIB_VER < ARDUBOY_LIB_VER_TGT #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line. diff --git a/rysk/MyArduboy2.h b/rysk/MyArduboy2.h index 4e59bf6..64a34f6 100644 --- a/rysk/MyArduboy2.h +++ b/rysk/MyArduboy2.h @@ -1,7 +1,7 @@ #pragma once #include -#if ARDUBOY_LIB_VER != 50201 +#if ARDUBOY_LIB_VER < 50201 #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line. diff --git a/samegame/samegame.ino b/samegame/samegame.ino index d4189c3..1cd26b3 100644 --- a/samegame/samegame.ino +++ b/samegame/samegame.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != ARDUBOY_LIB_VER_TGT +#if ARDUBOY_LIB_VER < ARDUBOY_LIB_VER_TGT #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line. diff --git a/stairssweep/stairssweep.ino b/stairssweep/stairssweep.ino index 4f6c21c..6c8976a 100644 --- a/stairssweep/stairssweep.ino +++ b/stairssweep/stairssweep.ino @@ -1,6 +1,6 @@ #include "common.h" -#if ARDUBOY_LIB_VER != ARDUBOY_LIB_VER_TGT +#if ARDUBOY_LIB_VER < ARDUBOY_LIB_VER_TGT #error Unexpected version of Arduboy Library #endif // It may work even if you use other version. So comment out the above line.