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: SX1276Lib AdaFruit_RGBLCD MCP23017 mbed
Fork of AdaFruit_RGBLCD by
Diff: Modules/TimeModule.cpp
- Revision:
- 28:fbcd3bac0cd7
- Parent:
- 18:fae7e61ea160
--- a/Modules/TimeModule.cpp Thu Oct 09 10:21:03 2014 +0000
+++ b/Modules/TimeModule.cpp Fri Oct 10 11:10:56 2014 +0000
@@ -86,7 +86,7 @@
if (sTM.tm_hour < 0) sTM.tm_hour = 0;
if (sTM.tm_hour > 23) sTM.tm_hour = 23;
if (sTM.tm_min < 0) sTM.tm_min = 0;
- if (sTM.tm_hour > 59) sTM.tm_min = 59;
+ if (sTM.tm_min > 59) sTM.tm_min = 59;
if (sTM.tm_sec < 0) sTM.tm_sec = 0;
if (sTM.tm_sec > 59) sTM.tm_sec = 59;
