mesh: remove beacon timer before starting it again

This commit is contained in:
Matthias Ringwald 2020-05-13 22:42:44 +02:00
parent 76f392605d
commit 698b6644cc

View File

@ -471,6 +471,7 @@ void beacon_unprovisioned_device_start(const uint8_t * device_uuid, uint16_t oob
if (device_uuid){
beacon_device_uuid = device_uuid;
beacon_timer.process = &beacon_timer_handler;
btstack_run_loop_remove_timer(&beacon_timer);
beacon_timer_handler(&beacon_timer);
}
#endif