fix(taranis): restore volume cli for I2C audio targets (#6543)
This commit is contained in:
@@ -1497,6 +1497,11 @@ int cliDisplay(const char ** argv)
|
||||
gettime(&utm);
|
||||
cliSerialPrint("rtc = %4d-%02d-%02d %02d:%02d:%02d.%02d0", utm.tm_year+TM_YEAR_BASE, utm.tm_mon+1, utm.tm_mday, utm.tm_hour, utm.tm_min, utm.tm_sec, g_ms100);
|
||||
}
|
||||
#if defined(VOLUME_I2C_ADDRESS)
|
||||
else if (!strcmp(argv[1], "volume")) {
|
||||
cliSerialPrint("volume = %d", getVolume());
|
||||
}
|
||||
#endif
|
||||
else if (!strcmp(argv[1], "uid")) {
|
||||
char str[LEN_CPU_UID+1];
|
||||
getCPUUniqueID(str);
|
||||
|
||||
Reference in New Issue
Block a user