We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f27500 commit fd11ffaCopy full SHA for fd11ffa
source/Service_Libs/fhss/fhss_test_api.c
@@ -31,12 +31,16 @@
31
32
int8_t fhss_set_optimal_packet_length(const fhss_api_t *fhss_api, uint16_t packet_length)
33
{
34
+ (void) fhss_api;
35
+ (void) packet_length;
36
+#ifdef HAVE_WS
37
fhss_structure_t *fhss_structure = fhss_get_object_with_api(fhss_api);
38
if (!fhss_structure) {
39
return -1;
40
}
41
fhss_structure->optimal_packet_length = packet_length;
42
fhss_set_txrx_slot_length(fhss_structure);
43
tr_debug("Setting FHSS optimal packet length to: %u", fhss_structure->optimal_packet_length);
44
+#endif
45
return 0;
46
0 commit comments