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.
Fork of SX1276_GPS by
Revision 14:8b359e1e68f3, committed 2014-08-11
- Comitter:
- vtraveller
- Date:
- Mon Aug 11 19:13:08 2014 +0000
- Parent:
- 13:9641bc42db92
- Child:
- 15:d1eaddb363be
- Commit message:
- Minor fix for unit conversion.
Changed in this revision
| Modules/TempModule.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Modules/TempModule.cpp Mon Aug 11 19:11:43 2014 +0000
+++ b/Modules/TempModule.cpp Mon Aug 11 19:13:08 2014 +0000
@@ -39,7 +39,7 @@
{
const int k_aCursor[] = { 6, 7 };
- if (inout_nIndex < 0) inout_nIndex = 0;
+ if ((int)inout_nIndex < 0) inout_nIndex = 0;
if (inout_nIndex >= _countof(k_aCursor)) inout_nIndex = _countof(k_aCursor) - 1;
return k_aCursor[inout_nIndex];
