diff --git a/samples/sid_end_device/src/sensor_monitoring/app_tx.c b/samples/sid_end_device/src/sensor_monitoring/app_tx.c index e2f0f63ef0..6773184c97 100644 --- a/samples/sid_end_device/src/sensor_monitoring/app_tx.c +++ b/samples/sid_end_device/src/sensor_monitoring/app_tx.c @@ -46,9 +46,10 @@ static void state_notify_data(void *o); static void button_timer_cb(struct k_timer *timer_id); static const struct smf_state app_states[] = { - [STATE_APP_INIT] = SMF_CREATE_STATE(NULL, state_init, NULL), - [STATE_APP_NOTIFY_CAPABILITY] = SMF_CREATE_STATE(NULL, state_notify_capability, NULL), - [STATE_APP_NOTIFY_DATA] = SMF_CREATE_STATE(NULL, state_notify_data, NULL), + [STATE_APP_INIT] = SMF_CREATE_STATE(NULL, state_init, NULL, NULL, NULL), + [STATE_APP_NOTIFY_CAPABILITY] = + SMF_CREATE_STATE(NULL, state_notify_capability, NULL, NULL, NULL), + [STATE_APP_NOTIFY_DATA] = SMF_CREATE_STATE(NULL, state_notify_data, NULL, NULL, NULL), }; static uint8_t __aligned(4) diff --git a/samples/sid_end_device/src/sidewalk.c b/samples/sid_end_device/src/sidewalk.c index 020f2cc7e1..e69cd708ce 100644 --- a/samples/sid_end_device/src/sidewalk.c +++ b/samples/sid_end_device/src/sidewalk.c @@ -61,8 +61,9 @@ static void state_dfu_entry(void *o); static void state_dfu_run(void *o); static const struct smf_state sid_states[] = { - [STATE_SIDEWALK] = SMF_CREATE_STATE(state_sidewalk_entry, state_sidewalk_run, NULL), - [STATE_DFU] = SMF_CREATE_STATE(state_dfu_entry, state_dfu_run, NULL), + [STATE_SIDEWALK] = + SMF_CREATE_STATE(state_sidewalk_entry, state_sidewalk_run, NULL, NULL, NULL), + [STATE_DFU] = SMF_CREATE_STATE(state_dfu_entry, state_dfu_run, NULL, NULL, NULL), }; static uint8_t __aligned(4)