commit
1982959314
@ -32,12 +32,10 @@ halfile = generic.h
|
||||
[platformio]
|
||||
; upload firmware to board with usb cable
|
||||
default_envs = usb
|
||||
|
||||
; upload firmware to a jfrog bintray repository
|
||||
;default_envs = ota
|
||||
|
||||
; use latest versions of libraries
|
||||
;default_envs = dev
|
||||
build_cache_dir = /tmp/platformio-shared-cache
|
||||
description = Paxcounter is a device for metering passenger flows in realtime. It counts how many mobile devices are around.
|
||||
|
||||
[common]
|
||||
|
@ -64,8 +64,7 @@ void process_timesync_req(void *taskparameter) {
|
||||
|
||||
// wait until we are joined if we are not
|
||||
while (!LMIC.devaddr) {
|
||||
vTaskDelay(3000);
|
||||
}
|
||||
vTaskDelay(pdMS_TO_TICKS(3000));
|
||||
|
||||
// collect timestamp samples
|
||||
for (uint8_t i = 0; i < TIME_SYNC_SAMPLES; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user