altos/altosui: Report log format in the version command
[fw/altos] / altosui / AltosEepromRecord.java
index 52acb43568c11e48f3a43feb6fc7c475ef45187d..c0f970354dad3d7f1dcb6d31d6cc2754820b0c2f 100644 (file)
@@ -143,6 +143,9 @@ public class AltosEepromRecord {
                                } else if (tokens[0].equals("serial-number")) {
                                        cmd = Altos.AO_LOG_SERIAL_NUMBER;
                                        a = Integer.parseInt(tokens[1]);
+                               } else if (tokens[0].equals("log-format")) {
+                                       cmd = Altos.AO_LOG_LOG_FORMAT;
+                                       a = Integer.parseInt(tokens[1]);
                                } else if (tokens[0].equals("software-version")) {
                                        cmd = Altos.AO_LOG_SOFTWARE_VERSION;
                                        data = tokens[1];