From ef68f7e2e5f1213e6bae66b46eee7f30c5627976 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Fri, 4 Apr 2014 11:24:27 +0800 Subject: Update Nano Logger --- nanologger/nanologger.ino | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'nanologger/nanologger.ino') diff --git a/nanologger/nanologger.ino b/nanologger/nanologger.ino index b866341..10c1b5e 100644 --- a/nanologger/nanologger.ino +++ b/nanologger/nanologger.ino @@ -70,11 +70,8 @@ public: showStates(); - uint16_t flags = FLAG_CAR | FLAG_OBD; - if (state & STATE_GPS_FOUND) flags |= FLAG_GPS; - if (state & STATE_ACC_READY) flags |= FLAG_ACC; #if ENABLE_DATA_LOG - uint16_t index = openFile(LOG_TYPE_DEFAULT, flags); + uint16_t index = openFile(); lcd.setFont(FONT_SIZE_SMALL); lcd.setCursor(86, 0); if (index) { -- cgit v1.2.3