~aleteoryx/muditaos

90a10cd2657d8cc2e357dabcc432d4083da0637f — Maciej Gibowicz 3 years ago 87f1515
[MOS-360] Fix battery charger stack overflow

Increasing the stack for battery charger worker
1 files changed, 1 insertions(+), 1 deletions(-)

M module-bsp/board/rt1051/puretx/hal/battery_charger/BatteryCharger.cpp
M module-bsp/board/rt1051/puretx/hal/battery_charger/BatteryCharger.cpp => module-bsp/board/rt1051/puretx/hal/battery_charger/BatteryCharger.cpp +1 -1
@@ 89,7 89,7 @@ namespace hal::battery
        static BatteryWorkerQueue &getWorkerQueueHandle();

      private:
        static constexpr auto workerStackSize = 1024;
        static constexpr auto workerStackSize = 2048;

        void setChargingCurrentLimit(std::uint8_t usbType);
        void sendNotification(AbstractBatteryCharger::Events event);