Skip to content

Commit

Permalink
Okay, we have CI, next step, check results BEFORE release
Browse files Browse the repository at this point in the history
2.2.7 was busted on all 0-series.... good thing I checked.... shortly after releasing 2.2.7
  • Loading branch information
SpenceKonde committed Feb 10, 2021
1 parent 0a7e1d2 commit d77318e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion megaavr/cores/megatinycore/wiring_analog.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,10 @@ void takeOverTCA0() {
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?! */
}


#if defined(TCD0)
void takeOverTCD0() {
TCD0.CTRLA = 0; // Stop TCD0
_PROTECTED_WRITE(TCD0.FAULTCTRL,0); // Turn off all outputs
PeripheralControl &= ~TIMERD0; // Mark timer as user controlled
}
#endif

0 comments on commit d77318e

Please sign in to comment.