mirror of
https://github.com/espressif/esp-idf
synced 2025-03-11 10:09:08 -04:00
CONFIG_ESP_TIMER_ISR_AFFINITY can be equal to -1, whereas ESP_SYSTEM_INIT_FN takes an uint16_t argument. To avoid overflow, move the choice of init mask into source code and set the value explicitly.