diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-08-18 15:40:24 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-08-18 15:40:24 +1000 |
| commit | cad70605401e8fa30811e8c68a0cc5c014438942 (patch) | |
| tree | 42307c27b01ce80b1e9038dea6dca2d4aa94eae1 /src/app_console/app_console.cpp | |
| parent | 697ec3c5843c66253f73572c26b9b4885680d56c (diff) | |
| download | tangara-fw-cad70605401e8fa30811e8c68a0cc5c014438942.tar.gz | |
Add interrupts for samd changes
Diffstat (limited to 'src/app_console/app_console.cpp')
| -rw-r--r-- | src/app_console/app_console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_console/app_console.cpp b/src/app_console/app_console.cpp index e9bd7cdc..f6b23215 100644 --- a/src/app_console/app_console.cpp +++ b/src/app_console/app_console.cpp @@ -496,7 +496,7 @@ int CmdSamd(int argc, char** argv) { AppConsole::sSamd->ResetToFlashSamd(); } else if (cmd == "charge") { - auto res = AppConsole::sSamd->ReadChargeStatus(); + auto res = AppConsole::sSamd->GetChargeStatus(); if (res) { switch (res.value()) { case drivers::Samd::ChargeStatus::kNoBattery: |
