mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
Clarify BatteryCommand with some documentation
This commit is contained in:
parent
0eb852997c
commit
17a22dc59d
2 changed files with 4 additions and 0 deletions
|
@ -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(); },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue