| 139 | } |
| 140 | |
| 141 | static int32_t powerSwitchMain() { // check power switch every 10th of sec |
| 142 | while (true) { |
| 143 | updatePowerSwitch(); |
| 144 | tt::kernel::delayMillis(200); |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | static void startPowerSwitchThread() { |
| 149 | powerThread = std::make_unique<tt::Thread>( |
no test coverage detected