summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Barbier <dbarbi1@gmail.com>2017-07-26 09:05:05 -0500
committerDrew Barbier <dbarbi1@gmail.com>2017-07-26 09:05:05 -0500
commit14d6a986479e3c0e8b78e05d751cddce2ef83897 (patch)
tree4da9d2d737b648ea86672285880b1e8cdae8c153
parent595d44b8c7857ff2aacc588ffcc54a1d1b763a65 (diff)
fixed comments
-rw-r--r--software/vectored_interrupts/vectored_interrupts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/software/vectored_interrupts/vectored_interrupts.c b/software/vectored_interrupts/vectored_interrupts.c
index 61eee5e..8958105 100644
--- a/software/vectored_interrupts/vectored_interrupts.c
+++ b/software/vectored_interrupts/vectored_interrupts.c
@@ -100,7 +100,7 @@ void invalid_global_isr() {
printf("Unexpected global interrupt!\n");
}
-/* b1 global interrupt isr */
+/* b0 global interrupt isr */
/*called from handle_m_external_interrupt */
void button_0_handler() {
static uint32_t onoff=1;
@@ -136,7 +136,7 @@ void handle_local_interrupt5() {
onoff=1;
}
- //debounce by turing off until next timer tick
+ //debounce by turning off until next timer tick
clear_csr(mie, MIP_MLIP(LOCAL_INT_BTN_1));
}