diff options
Diffstat (limited to 'zephyr/shim/include')
-rw-r--r-- | zephyr/shim/include/battery_enum.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/shim/include/battery_enum.h b/zephyr/shim/include/battery_enum.h index 7497edea0b..0ee36a8aa8 100644 --- a/zephyr/shim/include/battery_enum.h +++ b/zephyr/shim/include/battery_enum.h @@ -8,16 +8,16 @@ "included in all zephyr builds automatically" #endif -#define BATTERY_ENUM(val) DT_CAT(BATTERY_, val) +#define BATTERY_ENUM(val) DT_CAT(BATTERY_, val) #define BATTERY_TYPE(id) BATTERY_ENUM(DT_STRING_UPPER_TOKEN(id, enum_name)) -#define BATTERY_TYPE_WITH_COMMA(id) BATTERY_TYPE(id), +#define BATTERY_TYPE_WITH_COMMA(id) BATTERY_TYPE(id), /* This produces a list of BATTERY_<ENUM_NAME> identifiers */ enum battery_type { #if DT_HAS_COMPAT_STATUS_OKAY(battery_smart) DT_FOREACH_STATUS_OKAY(battery_smart, BATTERY_TYPE_WITH_COMMA) #endif - BATTERY_TYPE_COUNT, + BATTERY_TYPE_COUNT, }; #undef BATTERY_TYPE_WITH_COMMA |