Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Commit

Permalink
Set fast advertisement start to actual start of fast advertising
Browse files Browse the repository at this point in the history
Set fast advertisement start to actual start of fast advertising
  • Loading branch information
ojousima committed Sep 6, 2019
1 parent 8c00a66 commit b1a2066
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ruuvi_examples/ruuvi_firmware/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,8 @@ int main(void)

// Wait for sensors to take first sample
nrf_delay_ms(1000);
// Get first sample from sensors
// Get first sample from sensors, set fast advertising start counter
fast_advertising_start = millis();
app_sched_event_put (NULL, 0, main_sensor_task);
app_sched_execute();

Expand Down

0 comments on commit b1a2066

Please sign in to comment.