Skip to content

Commit

Permalink
Fix: Reboot loop if negative display pins and type where provided
Browse files Browse the repository at this point in the history
Fix #1163
  • Loading branch information
tbnobody committed Jul 21, 2023
1 parent 9dbeec3 commit bf4dc56
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/PinMapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf4dc56

Please sign in to comment.