| 146 | } |
| 147 | |
| 148 | static void startPowerSwitchThread() { |
| 149 | powerThread = std::make_unique<tt::Thread>( |
| 150 | "unphone_power_switch", |
| 151 | 4096, |
| 152 | []() { return powerSwitchMain(); } |
| 153 | ); |
| 154 | powerThread->start(); |
| 155 | } |
| 156 | |
| 157 | std::shared_ptr<Bq24295> bq24295; |
| 158 |
no test coverage detected