![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fork to see if I can get working
Dependencies: BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated
Fork of xDotBridge_update_test20180823 by
Diff: xDotBridge/src/BaseboardIO.cpp
- Revision:
- 60:5179449a684f
- Parent:
- 59:485545afc4dc
- Child:
- 61:8d9efd33cac9
--- a/xDotBridge/src/BaseboardIO.cpp Mon Mar 06 09:37:15 2017 -0700 +++ b/xDotBridge/src/BaseboardIO.cpp Mon Mar 06 15:16:58 2017 -0700 @@ -45,7 +45,7 @@ mTamper(TamperPinName), mPairBtn(PairBtnPinName), mLed(LedPinName), - mLrrLed(LrrLedPinName), + mLrrLed(LrrLedPinName, 0), mSwitchedIOCtrl(SwitchedIOCtrlPinName, 0) { mPortExpanderVal0 = 0x00; @@ -130,6 +130,7 @@ logError("Error setting relay during init"); return cmdError; } + ledOff(); logInfo("Baseboard IO initialization successful"); return cmdSuccess; @@ -261,9 +262,10 @@ CmdResult BaseboardIO::ledOff() { mLed = 0; -#if ALSO_USE_LRR_LED + // Always allow setting GPIO0 to 0 +//#if ALSO_USE_LRR_LED mLrrLed = 0; -#endif +//#endif return cmdSuccess; } CmdResult BaseboardIO::relayAlert()