Skip to content
Browse files

Corrected an error in previous commit, causing compile erros when usi…

…ng the default timer1 on the UNO
  • Loading branch information...
1 parent a433aa4 commit 809c749e22066bc66e7d673e4cce22142e0a7232 @elcojacobs committed Dec 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ShiftPWM.h
View
2 ShiftPWM.h
@@ -40,7 +40,7 @@ extern const bool ShiftPWM_balanceLoad;
#if !defined(OCR2A)
#error "The avr you are using does not have a timer2"
#endif
-#else
+#elif defined(SHIFTPWM_USE_TIMER3)
#if !defined(OCR3A)
#error "The avr you are using does not have a timer3"
#endif

0 comments on commit 809c749

Please sign in to comment.
Something went wrong with that request. Please try again.