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:
- 4:db38665c3727
- Parent:
- 3:d8948c5b2951
- Child:
- 5:09be5bbb5020
--- a/src/command.cpp Tue Nov 27 17:47:57 2018 +0000 +++ b/src/command.cpp Thu Nov 29 00:07:25 2018 +0000 @@ -39,6 +39,8 @@ #include "boards.h" #include "menu.h" +extern unsigned int binCode[6]; +extern unsigned int thermCode[6]; /************* FILE SCOPE VARIABLES ************************/ char setvalue = FALSE; @@ -1324,7 +1326,7 @@ else { if(checkRange(0, 63, multiplier) == 1){ - setBoardEnables(multiplier); + setBoardEnables(binCode); }else{ showRangeError(1, multiplier, 0.0); } @@ -1349,7 +1351,7 @@ else { if(checkRange(0, 63, multiplier) == 1){ - setBoardWeights(multiplier); + setBoardWeights(thermCode); }else{ showRangeError(1, multiplier, 0.0); } @@ -1363,7 +1365,7 @@ else if (!strcmp(commandString, "ALLON")) { //hv_en = 0; - setBoardEnables(ALLON); + setBoardEnables((unsigned int *)allon); } else if (!strcmp(commandString, "DWL1_OV_TIME")) {