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.
1 parent 0a7e1d2 commit d77318eCopy full SHA for d77318e
megaavr/cores/megatinycore/wiring_analog.c
@@ -345,9 +345,10 @@ void takeOverTCA0() {
345
TCA0.SPLIT.CTRLESET = TCA_SPLIT_CMD_RESET_gc; /* |0x03; // do these bits need to be set or don't they? Does this even WORK on tinyAVR?! */
346
}
347
348
-
+#if defined(TCD0)
349
void takeOverTCD0() {
350
TCD0.CTRLA = 0; // Stop TCD0
351
_PROTECTED_WRITE(TCD0.FAULTCTRL,0); // Turn off all outputs
352
PeripheralControl &= ~TIMERD0; // Mark timer as user controlled
353
354
+#endif
0 commit comments