mirror of
https://github.com/espressif/esp-idf
synced 2025-03-12 02:29:10 -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.