diff options
| author | Arisotura <thetotalworm@gmail.com> | 2023-11-03 20:17:00 +0100 | 
|---|---|---|
| committer | Arisotura <thetotalworm@gmail.com> | 2023-11-03 20:17:00 +0100 | 
| commit | 440b3566745bbf967210bd6c51e791e1df472ff2 (patch) | |
| tree | 75d630f0915159348899f1e445d06f7270210499 /src/DSi_I2C.cpp | |
| parent | 70c6750561b0c130b430e2ec3d076708b3767674 (diff) | |
get this started: refactor SPI in OOP
Diffstat (limited to 'src/DSi_I2C.cpp')
| -rw-r--r-- | src/DSi_I2C.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DSi_I2C.cpp b/src/DSi_I2C.cpp index c4ad50c..26f3e4b 100644 --- a/src/DSi_I2C.cpp +++ b/src/DSi_I2C.cpp @@ -144,7 +144,7 @@ u8 GetBatteryLevel() { return Registers[0x20] & 0xF; }  void SetBatteryLevel(u8 batteryLevel)  {      Registers[0x20] = ((Registers[0x20] & 0xF0) | (batteryLevel & 0x0F)); -    SPI_Powerman::SetBatteryLevelOkay(batteryLevel > batteryLevel_Low ? true : false); +    //SPI_Powerman::SetBatteryLevelOkay(batteryLevel > batteryLevel_Low ? true : false);      if (batteryLevel <= 1)      {  |