| 4 | #include <EstimatedPower.h> |
| 5 | |
| 6 | std::shared_ptr<tt::hal::power::PowerDevice> createPower() { |
| 7 | ChargeFromAdcVoltage::Configuration configuration; |
| 8 | // 2.0 ratio, but +.11 added as display voltage sag compensation. |
| 9 | configuration.adcMultiplier = 2.11; |
| 10 | |
| 11 | return std::make_shared<EstimatedPower>(configuration); |
| 12 | } |