diff --git a/Power_Pico/BSP/LCD/lcd.c b/Power_Pico/BSP/LCD/lcd.c index 2a04194..d2b4426 100644 --- a/Power_Pico/BSP/LCD/lcd.c +++ b/Power_Pico/BSP/LCD/lcd.c @@ -4,9 +4,12 @@ #include "spi.h" #include "cmsis_os.h" -#if USE_HORIZONTAL == 0 || USE_HORIZONTAL == 1 +#if USE_HORIZONTAL == 0 #define OFFSET_Y 0 #define OFFSET_X 0 +#elif USE_HORIZONTAL == 1 + #define OFFSET_Y 80 + #define OFFSET_X 0 #else #define OFFSET_Y 0 #define OFFSET_X 0