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.
Revision 16:1b43a57ee676, committed 2018-04-16
- Comitter:
- brunofgc
- Date:
- Mon Apr 16 12:30:09 2018 +0000
- Parent:
- 15:6d9e9cafe138
- Child:
- 17:c046e4b07ded
- Commit message:
- Vers?o 16/04/2018 com modbus otimizado para 100 leituras
Changed in this revision
| devices.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/devices.cpp Tue Feb 06 16:33:21 2018 +0000
+++ b/devices.cpp Mon Apr 16 12:30:09 2018 +0000
@@ -532,6 +532,7 @@
}
}
if(!exceptionDetected){
+ diversos::wdt.kick(90.0);
this->execAct(this->schedules[indexSchedule].idAct);
this->schedules[indexSchedule].actSent = true;
}
@@ -1392,7 +1393,7 @@
//Inicio da string dentro do arquivo binario
- //sdCardBuf.del();
+ sdCardBuf.del();
sdCardBuf.fill("log{data:",9);
//O timestamp é posto nos 4 primeiros bytes (segundos)