mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 18:38:35 -07:00
fbt format, aprimatic fixes
This commit is contained in:
@@ -373,7 +373,8 @@ bool totp_scene_generate_token_handle_event(
|
||||
|
||||
SceneState* scene_state;
|
||||
if(event->input.type == InputTypeLong) {
|
||||
if(event->input.key == InputKeyDown && plugin_state->automation_method & AutomationMethodBadUsb) {
|
||||
if(event->input.key == InputKeyDown &&
|
||||
plugin_state->automation_method & AutomationMethodBadUsb) {
|
||||
scene_state = (SceneState*)plugin_state->current_scene_state;
|
||||
totp_usb_type_code_worker_notify(
|
||||
scene_state->usb_type_code_worker_context, TotpUsbTypeCodeWorkerEventType);
|
||||
@@ -383,7 +384,9 @@ bool totp_scene_generate_token_handle_event(
|
||||
return true;
|
||||
}
|
||||
#ifdef TOTP_BADBT_TYPE_ENABLED
|
||||
else if(event->input.key == InputKeyUp && plugin_state->automation_method & AutomationMethodBadBt) {
|
||||
else if(
|
||||
event->input.key == InputKeyUp &&
|
||||
plugin_state->automation_method & AutomationMethodBadBt) {
|
||||
scene_state = (SceneState*)plugin_state->current_scene_state;
|
||||
totp_bt_type_code_worker_notify(
|
||||
plugin_state->bt_type_code_worker_context, TotpBtTypeCodeWorkerEventType);
|
||||
|
||||
Reference in New Issue
Block a user