mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-16 04:24:45 -07:00
formatted
This commit is contained in:
@@ -401,6 +401,6 @@ int32_t clock_app(void* p) {
|
||||
view_port_free(view_port);
|
||||
furi_message_queue_free(event_queue);
|
||||
delete_mutex(&state_mutex);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -45,7 +45,6 @@ static bool subghz_scene_receiver_info_update_parser(void* context) {
|
||||
}
|
||||
|
||||
void subghz_scene_receiver_info_draw_widget(SubGhz* subghz) {
|
||||
|
||||
if(subghz_scene_receiver_info_update_parser(subghz)) {
|
||||
string_t frequency_str;
|
||||
string_t modulation_str;
|
||||
@@ -146,10 +145,10 @@ bool subghz_scene_receiver_info_on_event(void* context, SceneManagerEvent event)
|
||||
} else if(event.event == SubGhzCustomEventSceneReceiverInfoTxStop) {
|
||||
//CC1101 Stop Tx -> Start RX
|
||||
subghz->state_notifications = SubGhzNotificationStateIDLE;
|
||||
|
||||
|
||||
widget_reset(subghz->widget);
|
||||
subghz_scene_receiver_info_draw_widget(subghz);
|
||||
|
||||
|
||||
if(subghz->txrx->txrx_state == SubGhzTxRxStateTx) {
|
||||
subghz_tx_stop(subghz);
|
||||
}
|
||||
|
||||
@@ -958,7 +958,8 @@ int32_t unirfremix_app(void* p) {
|
||||
//input detect loop start
|
||||
InputEvent input;
|
||||
while(1) {
|
||||
furi_check(furi_message_queue_get(app->input_queue, &input, FuriWaitForever) == FuriStatusOk);
|
||||
furi_check(
|
||||
furi_message_queue_get(app->input_queue, &input, FuriWaitForever) == FuriStatusOk);
|
||||
FURI_LOG_I(
|
||||
TAG,
|
||||
"key: %s type: %s",
|
||||
@@ -1093,7 +1094,8 @@ int32_t unirfremix_app(void* p) {
|
||||
|
||||
InputEvent input;
|
||||
while(1) {
|
||||
furi_check(furi_message_queue_get(app->input_queue, &input, FuriWaitForever) == FuriStatusOk);
|
||||
furi_check(
|
||||
furi_message_queue_get(app->input_queue, &input, FuriWaitForever) == FuriStatusOk);
|
||||
FURI_LOG_I(
|
||||
TAG,
|
||||
"key: %s type: %s",
|
||||
|
||||
Reference in New Issue
Block a user