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: libmDot-mbed5 DOGS102 ISL29011 MMA845x MPL3115A2 NCP5623B X_NUCLEO_IKS01A1 Senet_Packet
Fork of MTDOT-UDKDemo_Senet by
Diff: main.cpp
- Branch:
- develop
- Revision:
- 29:055824db068a
- Parent:
- 28:4fd8a894a403
- Child:
- 32:5873d0638277
--- a/main.cpp Fri Aug 25 09:29:01 2017 -0400 +++ b/main.cpp Fri Aug 25 13:44:11 2017 +0000 @@ -11,6 +11,7 @@ #include "board.h" #include "senet_packet.h" + /****************************************************************************** * LoRaWAN Configuration * ******************************************************************************/ @@ -238,8 +239,8 @@ BoardOrientation lastOrientation; - bzero(orientationCount, sizeof(orientationCount)); - bzero(orientationTxCount, sizeof(orientationTxCount)); + memset(orientationCount, 0, sizeof(orientationCount)); + memset(orientationTxCount, 0, sizeof(orientationTxCount)); // Initialize Board BoardInit(); @@ -346,7 +347,6 @@ // Delay before next sensor poll osDelay(2000); } - return 0; }
