Add compiler_support.h (#25274)
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "compiler_support.h"
|
||||
#include "util.h"
|
||||
|
||||
#if defined(LED_MATRIX_KEYPRESSES) || defined(LED_MATRIX_KEYRELEASES)
|
||||
@@ -82,4 +84,4 @@ typedef union led_eeconfig_t {
|
||||
};
|
||||
} led_eeconfig_t;
|
||||
|
||||
_Static_assert(sizeof(led_eeconfig_t) == sizeof(uint32_t), "LED Matrix EECONFIG out of spec.");
|
||||
STATIC_ASSERT(sizeof(led_eeconfig_t) == sizeof(uint32_t), "LED Matrix EECONFIG out of spec.");
|
||||
|
||||
Reference in New Issue
Block a user