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: mbed
Diff: src/command.cpp
- Revision:
- 34:419242dc004d
- Parent:
- 33:6c7364ea360f
- Child:
- 35:ec224d706f7c
diff -r 6c7364ea360f -r 419242dc004d src/command.cpp
--- a/src/command.cpp Thu Aug 22 15:38:50 2019 +0000
+++ b/src/command.cpp Thu Aug 22 18:31:39 2019 +0000
@@ -41,7 +41,7 @@
#include "adc.h"
uint8_t *storo;
-char storoBuild[50], storoFrag[10];
+char storoBuild[200], storoFrag[10];
char storoSpace[2] = ":";
unsigned int boardsActive = ALLON;
unsigned int boardMults = 32;
@@ -1145,6 +1145,7 @@
sprintf(storoFrag, "%4.2f", CURRENT_12_CORRECTION5);
strcat(storoBuild, storoFrag);
strcat(storoBuild, storoSpace);
+ //SOFBlock::format(sector_index);
writer.open(sector_index) ;
writer.write_data((uint8_t*) storoBuild, sizeof storoBuild);
writer.close();