MCPcopy Create free account
hub / github.com/arkhipenko/TaskScheduler / sensor_critical_callback

Function sensor_critical_callback

tests/test-scheduler-priority.cpp:178–183  ·  view source on GitHub ↗

* @brief Time-critical sensor callback - simulates gyroscope/accelerometer reading */

Source from the content-addressed store, hash-verified

176 * @brief Time-critical sensor callback - simulates gyroscope/accelerometer reading
177 */
178void sensor_critical_callback() {
179 priority_callback_counter++;
180 priority_test_output.push_back("sensor_critical_executed");
181 priority_execution_times[priority_execution_index++] = millis();
182 // Simulate precise sensor reading requiring minimal delay
183}
184
185/**
186 * @brief Background processing callback - simulates non-critical background work

Callers

nothing calls this directly

Calls 1

millisFunction · 0.85

Tested by

no test coverage detected