This commit is contained in:
2021-03-09 19:33:29 +01:00
parent c225080693
commit 11eac7a8e4
2 changed files with 8 additions and 8 deletions

View File

@ -23,7 +23,7 @@ void gpioInit() {
io_conf.mode = GPIO_MODE_INPUT;
io_conf.pull_up_en = 0;
io_conf.pull_down_en = 0;
gpio_config(&i_conf);
gpio_config(&io_conf);
gpio_isr_handler_add(GPIO_ZERO_CROSSING, counterZeroCrossingISR, NULL);