* @brief Time-critical sensor callback - simulates gyroscope/accelerometer reading */
| 176 | * @brief Time-critical sensor callback - simulates gyroscope/accelerometer reading |
| 177 | */ |
| 178 | void 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 |