some Code-simplification

This commit is contained in:
2023-09-25 07:17:38 +02:00
parent caff1c185f
commit aff1d40297
3 changed files with 22 additions and 34 deletions

View File

@@ -3,6 +3,7 @@
#define Q(x) #x
#define QUOTE(x) Q(x)
#define SET_BIT(value, bitPosition) ((value) |= (1U << (bitPosition)))
#if PCB_REV == 1
#define GPIO_BUTTON D7