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/boards.cpp
- Revision:
- 17:454afe56eedb
- Parent:
- 15:aed8f326c949
- Child:
- 20:5de24e4ae1c5
--- a/src/boards.cpp Wed Dec 12 00:10:03 2018 +0000
+++ b/src/boards.cpp Thu Dec 13 21:58:28 2018 +0000
@@ -142,15 +142,15 @@
// Check 48V levels
if(adcVals.v48 > V48_HI){
- if(buck){
- stopConverter();
- }
+ //if(buck){
+ // stopConverter();
+ //}
statVals.V48_IS_HI = TRUE;
statVals.V48_IS_LO = FALSE;
}else if(adcVals.v48 < V48_LO){
- if(buck){
- stopConverter();
- }
+ //if(buck){
+ // stopConverter();
+ //}
statVals.V48_IS_HI = FALSE;
statVals.V48_IS_LO = TRUE;
}else{
@@ -172,15 +172,15 @@
// Check 12V levels
if(adcVals.v12 > V12_HI){
- if(!buck){
- stopConverter();
- }
+ //if(!buck){
+ // stopConverter();
+ //}
statVals.V12_IS_HI = TRUE;
statVals.V12_IS_LO = FALSE;
}else if(adcVals.v12 < V12_LO){
- if(!buck){
- stopConverter();
- }
+ //if(!buck){
+ // stopConverter();
+ //}
statVals.V12_IS_HI = FALSE;
statVals.V12_IS_LO = TRUE;
}else{