mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Fmt and cleanup some "if"s in protocols
This commit is contained in:
@@ -197,9 +197,7 @@ static bool subghz_protocol_encoder_kinggates_stylo_4k_get_upload(
|
||||
furi_assert(instance);
|
||||
|
||||
// Gen new key
|
||||
if(subghz_protocol_kinggates_stylo_4k_gen_data(instance, btn)) {
|
||||
//ToDo if you need to add a callback to automatically update the data on the display
|
||||
} else {
|
||||
if(!subghz_protocol_kinggates_stylo_4k_gen_data(instance, btn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user