Merge pull request #396 from cyberman54/master

sync master -> dev
This commit is contained in:
Verkehrsrot authored and GitHub committed 2019-07-23 21:36:34 +02:00
commit 1982959314
2 files changed
+2 -5

No files matched your search

+1 -3
View File
@@ -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]
+1 -2
View File
@@ -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++) {