Clarify BatteryCommand with some documentation

This commit is contained in:
Jaakko Haakana 2025-06-01 13:54:07 +03:00
parent 0eb852997c
commit 17a22dc59d
2 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,7 @@
#include "../../datalayer/datalayer_extended.h"
#include "../../include.h"
// Available generic battery commands that are taken into use based on what the selected battery supports.
std::vector<BatteryCommand> battery_commands = {
{"clearIsolation", "Clear isolation fault", "clear any active isolation fault?",
[](Battery* b) { return b && b->supports_clear_isolation(); },