Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
2912713a9This file is pinned to the selected release. Download the original to open it in your design tool.
#pragma once
#include <cstdint>
namespace System {
enum class Error : uint8_t {
BatteryLow,
RadioInit,
Turnoff,
};
void Shutdown();
void Shutdown(Error error);
void BoosterON(bool enable);
uint16_t GetBatteryVoltage(bool forceUpdate);
uint16_t GetBoosterVoltage(bool forceUpdate);
void print(const char *fmt, ...);
}