mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04: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