BLE Spam refactor again to use scene manager

This commit is contained in:
Willy-JL
2023-10-19 03:08:23 +01:00
parent 13662663a5
commit b090d28282
7 changed files with 115 additions and 25 deletions

View File

@@ -0,0 +1,16 @@
#include "../ble_spam.h"
void scene_main_on_enter(void* _ctx) {
Ctx* ctx = _ctx;
view_dispatcher_switch_to_view(ctx->view_dispatcher, ViewMain);
}
bool scene_main_on_event(void* _ctx, SceneManagerEvent event) {
UNUSED(_ctx);
UNUSED(event);
return false;
}
void scene_main_on_exit(void* _ctx) {
UNUSED(_ctx);
}