SubGhz: increase output power and. Dolphin scene: refactor. (#411)

* SubGhz: increase output power to max
* Dolphin scene: refactor code.
This commit is contained in:
あく
2021-04-15 19:39:15 +03:00
committed by GitHub
parent 3e281175da
commit e0bc80cd8b
4 changed files with 67 additions and 70 deletions
+3 -5
View File
@@ -71,13 +71,10 @@ typedef struct {
} Vec2;
typedef struct {
osMessageQueueId_t mqueue;
Gui* gui;
ViewPort* view_port;
ValueMutex* vm;
osTimerId_t* timer;
osMessageQueueId_t mqueue;
FuriThread* scene_app_thread;
} SceneAppGui;
typedef struct {
@@ -92,7 +89,6 @@ typedef struct {
} Item;
typedef struct {
SceneAppGui ui;
///
Vec2 player;
Vec2 player_global;
@@ -126,6 +122,8 @@ typedef struct {
int8_t zoom_v;
uint8_t scene_zoom;
uint8_t dialog_progress;
FuriThread* scene_app_thread;
} SceneState;
void dolphin_scene_render(SceneState* state, Canvas* canvas, uint32_t t);