summaryrefslogtreecommitdiff
path: root/megaloggerHD/megaloggerHD.ino
diff options
context:
space:
mode:
Diffstat (limited to 'megaloggerHD/megaloggerHD.ino')
-rw-r--r--megaloggerHD/megaloggerHD.ino5
1 files changed, 3 insertions, 2 deletions
diff --git a/megaloggerHD/megaloggerHD.ino b/megaloggerHD/megaloggerHD.ino
index f5f7848..3fb732f 100644
--- a/megaloggerHD/megaloggerHD.ino
+++ b/megaloggerHD/megaloggerHD.ino
@@ -575,8 +575,9 @@ void reconnect()
if (obd.init())
break;
- obd.sleep();
+ obd.enterLowPowerMode();
Narcoleptic.delay(10000);
+ obd.leaveLowPowerMode();
}
// re-initialize
state |= STATE_OBD_READY;
@@ -617,7 +618,7 @@ void showStates()
void testOut()
{
- const char cmds[][6] = {"ATZ\r", "ATH0\r", "ATRV\r", "0100\r", "0902\r"};
+ const char cmds[][6] = {"ATZ\r", "ATH1\r", "ATRV\r", "0100\r", "0902\r"};
char buf[128];
lcd.setFontSize(FONT_SIZE_SMALL);
lcd.setCursor(0, 13);