We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 189d377 commit a4ec3c4Copy full SHA for a4ec3c4
src/common/pico_time/time.c
@@ -191,7 +191,7 @@ void alarm_pool_post_alloc_init(alarm_pool_t *pool, uint hardware_alarm_num) {
191
hardware_alarm_set_callback(hardware_alarm_num, alarm_pool_alarm_callback);
192
pool->lock = spin_lock_instance(next_striped_spin_lock_num());
193
pool->hardware_alarm_num = (uint8_t) hardware_alarm_num;
194
- pool->core_num = get_core_num();
+ pool->core_num = (uint8_t) get_core_num();
195
pools[hardware_alarm_num] = pool;
196
}
197
0 commit comments