formatted

This commit is contained in:
Eng1n33r
2022-07-26 21:52:34 +03:00
parent c12c399608
commit f359e0d9db
3 changed files with 7 additions and 6 deletions

View File

@@ -401,6 +401,6 @@ int32_t clock_app(void* p) {
view_port_free(view_port); view_port_free(view_port);
furi_message_queue_free(event_queue); furi_message_queue_free(event_queue);
delete_mutex(&state_mutex); delete_mutex(&state_mutex);
return 0; return 0;
} }

View File

@@ -45,7 +45,6 @@ static bool subghz_scene_receiver_info_update_parser(void* context) {
} }
void subghz_scene_receiver_info_draw_widget(SubGhz* subghz) { void subghz_scene_receiver_info_draw_widget(SubGhz* subghz) {
if(subghz_scene_receiver_info_update_parser(subghz)) { if(subghz_scene_receiver_info_update_parser(subghz)) {
string_t frequency_str; string_t frequency_str;
string_t modulation_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) { } else if(event.event == SubGhzCustomEventSceneReceiverInfoTxStop) {
//CC1101 Stop Tx -> Start RX //CC1101 Stop Tx -> Start RX
subghz->state_notifications = SubGhzNotificationStateIDLE; subghz->state_notifications = SubGhzNotificationStateIDLE;
widget_reset(subghz->widget); widget_reset(subghz->widget);
subghz_scene_receiver_info_draw_widget(subghz); subghz_scene_receiver_info_draw_widget(subghz);
if(subghz->txrx->txrx_state == SubGhzTxRxStateTx) { if(subghz->txrx->txrx_state == SubGhzTxRxStateTx) {
subghz_tx_stop(subghz); subghz_tx_stop(subghz);
} }

View File

@@ -958,7 +958,8 @@ int32_t unirfremix_app(void* p) {
//input detect loop start //input detect loop start
InputEvent input; InputEvent input;
while(1) { 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( FURI_LOG_I(
TAG, TAG,
"key: %s type: %s", "key: %s type: %s",
@@ -1093,7 +1094,8 @@ int32_t unirfremix_app(void* p) {
InputEvent input; InputEvent input;
while(1) { 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( FURI_LOG_I(
TAG, TAG,
"key: %s type: %s", "key: %s type: %s",