Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Senet_Packet mDot_X_NUCLEO_IKS01A1 libmDot-dev-mbed5-deprecated
Fork of mDot-IKS01A1 by
Diff: dot_util.cpp
- Revision:
- 9:e642e8f9ea37
- Parent:
- 7:d2052933ebcb
- Child:
- 10:1e3e3ab9c29c
--- a/dot_util.cpp Fri Dec 16 04:24:54 2016 +0000
+++ b/dot_util.cpp Tue Jan 17 22:53:01 2017 +0000
@@ -297,8 +297,8 @@
// in some frequency bands we need to wait until another channel is available before transmitting again
// wait at least 10s between transmissions
uint32_t delay_s = dot->getNextTxMs() / 1000;
- if (delay_s < 30) {
- delay_s = 30;
+ if (delay_s < 10) {
+ delay_s = 10;
}
logInfo("%ssleeping %lus", deepsleep ? "deep" : "", delay_s);
