Add an argument to ISRs. Disable interrupts while masking them.

This commit is contained in:
Our Air Quality 2017-07-22 22:09:09 +10:00
parent ec5dabd237
commit 5583543f14
16 changed files with 87 additions and 59 deletions

View file

@ -69,7 +69,7 @@ void IRAM sdk__xt_int_exit(void) {
");
}
void IRAM sdk__xt_timer_int(void) {
void IRAM sdk__xt_timer_int(void *arg) {
uint32_t trigger_ccount;
uint32_t current_ccount;
uint32_t ccount_interval = portTICK_PERIOD_MS * sdk_os_get_cpu_frequency() * 1000;