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.
Diff: HbUserOpe.cpp
- Revision:
- 31:56c554c560c1
- Parent:
- 30:13ada1a24c59
- Child:
- 33:eb260dbfc22a
--- a/HbUserOpe.cpp Tue Dec 18 11:57:37 2018 +0000
+++ b/HbUserOpe.cpp Wed Dec 19 12:22:22 2018 +0000
@@ -41,6 +41,7 @@
else if(styp == R_5) {return curOpe.bf.resv_5;}
else if(styp == R_6) {return curOpe.bf.resv_6;}
else if(styp == ALL_STOP){return curOpe.bf.all_stop;}
+ else {return false;}
}
bool HbUserOpe::ChkCtrlSwAny()
{
@@ -65,4 +66,5 @@
else if(styp == R_5) {return curOpe.bf.resv_5 && !oldOpe.bf.resv_5;}
else if(styp == R_6) {return curOpe.bf.resv_6 && !oldOpe.bf.resv_6;}
else if(styp == ALL_STOP){return curOpe.bf.all_stop && !oldOpe.bf.all_stop;}
+ else{return false;}
}