diff --git a/src/power_management.cpp b/src/power_management.cpp index 54b439e..8f017b6 100644 --- a/src/power_management.cpp +++ b/src/power_management.cpp @@ -9,12 +9,12 @@ PowerManagement::PowerManagement() // cppcheck-suppress unusedFunction bool PowerManagement::begin(TwoWire & port) { - bool result = axp.begin(port, AXP192_SLAVE_ADDRESS); - if(!result) - { - axp.setDCDC1Voltage(3300); - } - return result; + bool result = axp.begin(port, AXP192_SLAVE_ADDRESS); + if(!result) + { + axp.setDCDC1Voltage(3300); + } + return result; } // cppcheck-suppress unusedFunction diff --git a/src/power_management.h b/src/power_management.h index fccc031..ecd6cf6 100644 --- a/src/power_management.h +++ b/src/power_management.h @@ -8,19 +8,19 @@ class PowerManagement { public: PowerManagement(); - bool begin(TwoWire & port); + bool begin(TwoWire & port); - void activateLoRa(); - void deactivateLoRa(); + void activateLoRa(); + void deactivateLoRa(); - void activateGPS(); - void deactivateGPS(); + void activateGPS(); + void deactivateGPS(); - void activateOLED(); - void decativateOLED(); + void activateOLED(); + void decativateOLED(); private: - AXP20X_Class axp; + AXP20X_Class axp; }; #endif