Sub-GHz: Add function used by app to API

This commit is contained in:
WillyJL
2026-03-01 01:28:52 +01:00
parent 3c1cbe39d0
commit 0ac1b9b52d
3 changed files with 9 additions and 8 deletions
-8
View File
@@ -107,11 +107,3 @@ SubGhzProtocolStatus
* @param output Resulting text
*/
void subghz_protocol_decoder_marantec_get_string(void* context, FuriString* output);
/**
* Calculate CRC8 for Marantec protocol.
* @param data Pointer to the data buffer
* @param len Length of the data buffer
* @return CRC8 value
*/
uint8_t subghz_protocol_marantec_crc8(uint8_t* data, size_t len);
+8
View File
@@ -284,6 +284,14 @@ bool subghz_protocol_secplus_v1_check_fixed(uint32_t fixed);
// TODO: Remake in proper way
void faac_slh_reset_prog_mode(void);
/**
* Calculate CRC8 for Marantec protocol.
* @param data Pointer to the data buffer
* @param len Length of the data buffer
* @return CRC8 value
*/
uint8_t subghz_protocol_marantec_crc8(uint8_t* data, size_t len);
#ifdef __cplusplus
}
#endif