mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Tidy up some code and patterns
This commit is contained in:
@@ -26,5 +26,5 @@ const SceneManagerHandlers scene_handlers = {
|
||||
.on_enter_handlers = scene_on_enter_handlers,
|
||||
.on_event_handlers = scene_on_event_handlers,
|
||||
.on_exit_handlers = scene_on_exit_handlers,
|
||||
.scene_num = SceneCount,
|
||||
.scene_num = SceneCOUNT,
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#define ADD_SCENE(name, id) Scene##id,
|
||||
typedef enum {
|
||||
#include "_scenes.h"
|
||||
SceneCount,
|
||||
SceneCOUNT,
|
||||
} Scene;
|
||||
#undef ADD_SCENE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user