mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-02 18:13:33 -07:00
Api Symbols: replace asserts with checks
merge ofw commit
This commit is contained in:
@@ -38,7 +38,7 @@ typedef enum {
|
||||
PrincetonDecoderStepCheckDuration,
|
||||
} PrincetonDecoderStep;
|
||||
|
||||
SubGhzEncoderPrinceton* subghz_encoder_princeton_for_testing_alloc() {
|
||||
SubGhzEncoderPrinceton* subghz_encoder_princeton_for_testing_alloc(void) {
|
||||
SubGhzEncoderPrinceton* instance = malloc(sizeof(SubGhzEncoderPrinceton));
|
||||
return instance;
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ typedef void (*SubGhzDecoderPrincetonCallback)(SubGhzDecoderPrinceton* parser, v
|
||||
* Allocate SubGhzEncoderPrinceton
|
||||
* @return pointer to SubGhzEncoderPrinceton instance
|
||||
*/
|
||||
SubGhzEncoderPrinceton* subghz_encoder_princeton_for_testing_alloc();
|
||||
SubGhzEncoderPrinceton* subghz_encoder_princeton_for_testing_alloc(void);
|
||||
|
||||
/**
|
||||
* Free SubGhzEncoderPrinceton instance
|
||||
@@ -69,7 +69,7 @@ LevelDuration subghz_encoder_princeton_for_testing_yield(void* context);
|
||||
* Allocate SubGhzDecoderPrinceton
|
||||
* @return SubGhzDecoderPrinceton*
|
||||
*/
|
||||
SubGhzDecoderPrinceton* subghz_decoder_princeton_for_testing_alloc();
|
||||
SubGhzDecoderPrinceton* subghz_decoder_princeton_for_testing_alloc(void);
|
||||
|
||||
/**
|
||||
* Free SubGhzDecoderPrinceton
|
||||
|
||||
Reference in New Issue
Block a user