wait for all parameters to save */
| 1302 | wait for all parameters to save |
| 1303 | */ |
| 1304 | void AP_Param::flush(void) |
| 1305 | { |
| 1306 | uint16_t counter = 200; // 2 seconds max |
| 1307 | while (counter-- && save_queue.available()) { |
| 1308 | hal.scheduler->expect_delay_ms(10); |
| 1309 | hal.scheduler->delay(10); |
| 1310 | hal.scheduler->expect_delay_ms(0); |
| 1311 | } |
| 1312 | } |
| 1313 | |
| 1314 | // Load the variable from EEPROM, if supported |
| 1315 | // |
nothing calls this directly
no test coverage detected