* @brief High priority task callback - simulates critical priority work */
| 129 | * @brief High priority task callback - simulates critical priority work |
| 130 | */ |
| 131 | void high_priority_callback() { |
| 132 | priority_callback_counter++; |
| 133 | priority_test_output.push_back("high_priority_executed"); |
| 134 | priority_execution_times[priority_execution_index++] = millis(); |
| 135 | std::cout << "High priority task executed at " << millis() << "ms" << std::endl; |
| 136 | } |
| 137 | |
| 138 | /** |
| 139 | * @brief Priority test callback that uses currentScheduler() and currentTask() |