We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e1f4292 + cb47fd0 commit 9105744Copy full SHA for 9105744
src/current_sense/hardware_specific/samd21_mcu.cpp
@@ -1,3 +1,4 @@
1
+#ifdef _SAMD21_
2
3
#include "samd21_mcu.h"
4
#include "../hardware_api.h"
@@ -301,4 +302,7 @@ void DMAC_Handler() {
301
302
DMAC->CHINTFLAG.reg = DMAC_CHINTENCLR_TERR;
303
DMAC->CHINTFLAG.reg = DMAC_CHINTENCLR_SUSP;
304
-}
305
+}
306
+
307
308
+#endif
src/current_sense/hardware_specific/samd21_mcu.h
@@ -1,3 +1,5 @@
#ifndef CURRENT_SENSE_SAMD21_H
#define CURRENT_SENSE_SAMD21_H
5
@@ -58,4 +60,8 @@ class SAMDCurrentSenseADCDMA
58
60
59
61
};
62
63
64
65
66
67
#endif
0 commit comments