Skip to content

Commit c1e7300

Browse files
author
Jarkko Paso
committed
FHSS: hard coded channel function
- Just for testing purposes
1 parent 1d54c7d commit c1e7300

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/Service_Libs/fhss/fhss_ws.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
static int fhss_ws_handle_state_set(fhss_structure_t *fhss_structure, fhss_states fhss_state, uint16_t pan_id)
3636
{
3737
(void) pan_id;
38+
//TODO: Remove hard coded channel function
39+
fhss_structure->ws->channel_function = WS_TR51CF;
3840
fhss_start_timer(fhss_structure, fhss_structure->synch_configuration.fhss_superframe_length, fhss_superframe_handler);
3941
return 0;
4042
}

0 commit comments

Comments
 (0)