|
@@ -103,6 +103,7 @@ static void cnsl_interpret(const char *line) {
|
103
|
103
|
println(" mount - make mass storage medium (un)available");
|
104
|
104
|
println(" power - show Lipo battery status");
|
105
|
105
|
println(" memr - reset flash memory config");
|
|
106
|
+ println(" bl - print backlight pwm level");
|
106
|
107
|
println("");
|
107
|
108
|
println(" scan - start or stop BLE scan");
|
108
|
109
|
println("scanres - print list of found BLE devices");
|
|
@@ -156,6 +157,8 @@ static void cnsl_interpret(const char *line) {
|
156
|
157
|
} else if (strcmp(line, "memr") == 0) {
|
157
|
158
|
mem_load_defaults();
|
158
|
159
|
mem_write();
|
|
160
|
+ } else if (strcmp(line, "bl") == 0) {
|
|
161
|
+ println("bl: 0x%04X", mem_data()->backlight);
|
159
|
162
|
} else if (strcmp(line, "scan") == 0) {
|
160
|
163
|
ble_scan(BLE_SCAN_TOGGLE);
|
161
|
164
|
} else if (strcmp(line, "scanres") == 0) {
|