mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-27 01:58:09 -07:00
EditCnt rework [in progress]
This commit is contained in:
@@ -454,14 +454,6 @@ static bool
|
||||
return true;
|
||||
}
|
||||
|
||||
bool subghz_protocol_keeloq_edit_cnt(void* context, uint32_t cnt) {
|
||||
furi_assert(context);
|
||||
SubGhzProtocolEncoderKeeloq* instance = context;
|
||||
instance->generic.cnt = cnt;
|
||||
FURI_LOG_I(TAG, "edit_cnt value : %08lX", cnt);
|
||||
return true;
|
||||
}
|
||||
|
||||
SubGhzProtocolStatus
|
||||
subghz_protocol_encoder_keeloq_deserialize(void* context, FlipperFormat* flipper_format) {
|
||||
furi_assert(context);
|
||||
|
||||
@@ -11,13 +11,6 @@ extern const SubGhzProtocolDecoder subghz_protocol_keeloq_decoder;
|
||||
extern const SubGhzProtocolEncoder subghz_protocol_keeloq_encoder;
|
||||
extern const SubGhzProtocol subghz_protocol_keeloq;
|
||||
|
||||
/**
|
||||
* Edit counter function
|
||||
* @param context Pointer to a SubGhzProtocolEncoderKeeloq instance
|
||||
* @param cnt Counter
|
||||
*/
|
||||
bool subghz_protocol_keeloq_edit_cnt(void* context, uint32_t cnt);
|
||||
|
||||
/**
|
||||
* Allocate SubGhzProtocolEncoderKeeloq.
|
||||
* @param environment Pointer to a SubGhzEnvironment instance
|
||||
|
||||
Reference in New Issue
Block a user