Print low pass filters parameters and current mode in cli

This commit is contained in:
Oleg Kalachev
2023-11-11 06:21:06 +03:00
parent 6d2518e635
commit 6dae4abaa2
2 changed files with 21 additions and 2 deletions

View File

@@ -267,3 +267,13 @@ inline void indicateSaturation() {
setLED(motorsSaturation);
}
}
const char* getModeName()
{
switch (mode) {
case MANUAL: return "MANUAL";
case ACRO: return "ACRO";
case STAB: return "STAB";
default: return "UNKNOWN";
}
}