Fix one of many warnings

This commit is contained in:
Theo Arends 2020-11-12 16:11:32 +01:00
parent 5594598364
commit 0815311e3a
1 changed files with 2 additions and 2 deletions

View File

@ -394,8 +394,8 @@ const char kWebColors[] PROGMEM =
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#endif
#define AGPIO(x) (x<<5)
#define BGPIO(x) (x>>5)
#define AGPIO(x) ((x)<<5)
#define BGPIO(x) ((x)>>5)
#ifdef USE_DEVICE_GROUPS
#define SendDeviceGroupMessage(DEVICE_INDEX, REQUEST_TYPE, ...) _SendDeviceGroupMessage(DEVICE_INDEX, REQUEST_TYPE, __VA_ARGS__, 0)