universal7885: parts: Fix derps

FileIO.cpp: Drop unused header
SmartChargingImpl.cpp: delay 5s -> 5m
This commit is contained in:
roynatech2544 2022-10-05 09:59:29 +00:00
commit d8ad12b45e
2 changed files with 1 additions and 2 deletions

View file

@ -3,7 +3,6 @@
#include <log/log.h>
#include <fstream>
#include <memory>
#include <string>
namespace FileIO {

View file

@ -25,7 +25,7 @@ static void battery_monitor(const int limit_percent, const int restart_percent,
enableSysfs(BATTERY_CHARGE);
*restart_cnt += 1;
}
std::this_thread::sleep_for(std::chrono::seconds(5));
std::this_thread::sleep_for(std::chrono::minutes(5));
}
}