Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lee committed Jun 17, 2024
1 parent bfecd49 commit c5d7979
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions scenes/xremote_scene_transmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ bool xremote_scene_transmit_on_event(void* context, SceneManagerEvent event) {
xremote_transmit_get_view(app->xremote_transmit),
void* model,
{ UNUSED(model); },
true
);
true);
if(app->state_notifications == SubGhzNotificationStateTx && app->led == 1) {
//blink for subghz
}
Expand Down
9 changes: 5 additions & 4 deletions views/xremote_transmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,19 @@ bool xremote_transmit_input(InputEvent* event, void* context) {
XRemoteTransmit* instance = context;
if(event->type == InputTypeRelease) {
switch(event->key) {
case InputKeyBack:
case InputKeyBack:
with_view_model(
instance->view,
XRemoteTransmitModel * model,
{
UNUSED(model);
instance->callback(XRemoteCustomEventViewTransmitterSendStop, instance->context);
instance->callback(
XRemoteCustomEventViewTransmitterSendStop, instance->context);
},
true);
break;
default:
break;
default:
break;
}
}
return true;
Expand Down

0 comments on commit c5d7979

Please sign in to comment.