Skip to content
Snippets Groups Projects
Verified Commit 7d854dee authored by rahix's avatar rahix
Browse files

chore(api): Remove test interrupt


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 330977dd
No related branches found
No related tags found
No related merge requests found
......@@ -107,12 +107,8 @@ API(API_INTERRUPT_DISABLE, int epic_interrupt_disable(api_int_id_t int_id));
/** RTC Alarm interrupt. See :c:func:`epic_isr_rtc_alarm` */
#define EPIC_INT_RTC_ALARM 3
/* Debug interrupt, please ignore */
#define EPIC_INT_BHI160_TEST 4
API_ISR(EPIC_INT_BHI160_TEST, epic_isr_bhi160_test);
/* Number of defined interrupts. */
#define EPIC_INT_NUM 5
#define EPIC_INT_NUM 4
/* clang-format on */
API_ISR(EPIC_INT_RESET, epic_isr_reset);
......
......@@ -60,11 +60,6 @@ static void enqueue_char(char chr)
api_interrupt_trigger(EPIC_INT_CTRL_C);
}
if (chr == 0x0e) {
/* Control-N */
api_interrupt_trigger(EPIC_INT_BHI160_TEST);
}
if (xQueueSend(read_queue, &chr, 100) == errQUEUE_FULL) {
/* Queue overran, wait a bit */
vTaskDelay(portTICK_PERIOD_MS * 50);
......
......@@ -83,8 +83,6 @@ static const mp_rom_map_elem_t interrupt_module_globals_table[] = {
MP_ROM_PTR(&interrupt_disable_callback_obj) },
/* Interrupt Numbers */
{ MP_ROM_QSTR(MP_QSTR_BHI160),
MP_OBJ_NEW_SMALL_INT(EPIC_INT_BHI160_TEST) },
{ MP_ROM_QSTR(MP_QSTR_RTC_ALARM),
MP_OBJ_NEW_SMALL_INT(EPIC_INT_RTC_ALARM) },
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment