调用ADF的API时发生install错误...是不是只能单独用gpio_isr_register创建中断
2.使用queue时发生报错...但是单独使用时是正常的(发送和接收都在同一个c文件里)
请问,发送和接收在不同的c文件时就不能使用吗?
- [/
- E (498) gpio: gpio_install_isr_service(394): GPIO isr service already installed
- /home/yejianhui/esp/esp-idf/components/freertos/queue.c:1157 (xQueueGenericSendFromISR)- assert failed!
- abort() was called at PC 0x4008617c on core 1
- 0x4008617c: xQueueGenericSendFromISR at /home/yejianhui/esp/esp-idf/components/freertos/queue.c:1996
- Backtrace: 0x400895ac:0x3ffbace0 0x400897d9:0x3ffbad00 0x4008617c:0x3ffbad20 0x400e6903:0x3ffbad40 0x400e7265:0x3ffbad70 0x40086695:0x3ffbadb0
- 0x400895ac: invoke_abort at /home/yejianhui/esp/esp-idf/components/esp32/panic.c:707
- 0x400897d9: abort at /home/yejianhui/esp/esp-idf/components/esp32/panic.c:707
- 0x4008617c: xQueueGenericSendFromISR at /home/yejianhui/esp/esp-idf/components/freertos/queue.c:1996
- 0x400e6903: report_music_num at /home/yejianhui/esp/DaXia/components/daxia_main.c:357
- 0x400e7265: daxia_main at /home/yejianhui/esp/DaXia/components/daxia_main.c:397
- 0x40086695: vPortTaskWrapper at /home/yejianhui/esp/esp-idf/components/freertos/port.c:403]