mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 19:18:35 -07:00
Fix some structs to be binary comaptible to OFW
This commit is contained in:
@@ -86,6 +86,7 @@ struct Bt {
|
|||||||
FuriEventFlag* api_event;
|
FuriEventFlag* api_event;
|
||||||
BtStatusChangedCallback status_changed_cb;
|
BtStatusChangedCallback status_changed_cb;
|
||||||
void* status_changed_ctx;
|
void* status_changed_ctx;
|
||||||
|
|
||||||
uint32_t pin;
|
uint32_t pin;
|
||||||
bool suppress_pin_screen;
|
bool suppress_pin_screen;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ DICT_DEF2(ViewDict, uint32_t, M_DEFAULT_OPLIST, View*, M_PTR_OPLIST) // NOLINT
|
|||||||
struct ViewDispatcher {
|
struct ViewDispatcher {
|
||||||
FuriEventLoop* event_loop;
|
FuriEventLoop* event_loop;
|
||||||
FuriMessageQueue* input_queue;
|
FuriMessageQueue* input_queue;
|
||||||
FuriMessageQueue* ascii_queue;
|
|
||||||
FuriMessageQueue* event_queue;
|
FuriMessageQueue* event_queue;
|
||||||
|
|
||||||
Gui* gui;
|
Gui* gui;
|
||||||
@@ -33,6 +32,8 @@ struct ViewDispatcher {
|
|||||||
ViewDispatcherTickEventCallback tick_event_callback;
|
ViewDispatcherTickEventCallback tick_event_callback;
|
||||||
uint32_t tick_period;
|
uint32_t tick_period;
|
||||||
void* event_context;
|
void* event_context;
|
||||||
|
|
||||||
|
FuriMessageQueue* ascii_queue;
|
||||||
};
|
};
|
||||||
|
|
||||||
/** ViewPort Draw Callback */
|
/** ViewPort Draw Callback */
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ typedef struct {
|
|||||||
struct NotificationApp {
|
struct NotificationApp {
|
||||||
FuriMessageQueue* queue;
|
FuriMessageQueue* queue;
|
||||||
FuriPubSub* event_record;
|
FuriPubSub* event_record;
|
||||||
FuriPubSub* ascii_record;
|
|
||||||
FuriTimer* display_timer;
|
FuriTimer* display_timer;
|
||||||
|
|
||||||
NotificationLedLayer display;
|
NotificationLedLayer display;
|
||||||
@@ -57,6 +56,8 @@ struct NotificationApp {
|
|||||||
uint8_t display_led_lock;
|
uint8_t display_led_lock;
|
||||||
|
|
||||||
NotificationSettings settings;
|
NotificationSettings settings;
|
||||||
|
|
||||||
|
FuriPubSub* ascii_record;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Reference in New Issue
Block a user