Skip to content

Commit

Permalink
interrupts: only enable analog audio, RT-WB interrupts on H3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Hecht committed Jan 8, 2024
1 parent 83c09d1 commit a5a43e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions interrupts.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ void
if (irq_pending(47))
audio_queue_samples();

#ifdef AWBM_PLATFORM_h3
// analog audio
if (irq_pending(82))
codec_fiq_handler();
#endif

#ifndef JAILHOUSE
// USB controllers
Expand All @@ -82,11 +84,13 @@ void
hook_display_vblank();
}

#ifdef AWBM_PLATFORM_h3
// RT-WB
if (irq_pending(127)) {
// XXX: notify somebody???
DE_WB_STATUS |= 1;
}
#endif
}

// XXX: Something is really wrong here.
Expand Down

0 comments on commit a5a43e7

Please sign in to comment.