From bf4dc56cb839241d6673ef2f48248cff8cf314da Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Fri, 21 Jul 2023 19:02:18 +0200 Subject: [PATCH] Fix: Reboot loop if negative display pins and type where provided Fix #1163 --- src/PinMapping.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/PinMapping.cpp b/src/PinMapping.cpp index b9532d66..68395b6f 100644 --- a/src/PinMapping.cpp +++ b/src/PinMapping.cpp @@ -11,23 +11,23 @@ #define JSON_BUFFER_SIZE 6144 #ifndef DISPLAY_TYPE -#define DISPLAY_TYPE 0 +#define DISPLAY_TYPE 0U #endif #ifndef DISPLAY_DATA -#define DISPLAY_DATA 255 +#define DISPLAY_DATA 255U #endif #ifndef DISPLAY_CLK -#define DISPLAY_CLK 255 +#define DISPLAY_CLK 255U #endif #ifndef DISPLAY_CS -#define DISPLAY_CS 255 +#define DISPLAY_CS 255U #endif #ifndef DISPLAY_RESET -#define DISPLAY_RESET 255 +#define DISPLAY_RESET 255U #endif #ifndef LED0