This repository was archived by the owner on Jan 29, 2023. It is now read-only.
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -435,10 +435,10 @@ class ATmega_TimerInterrupt
435
435
436
436
#if !defined(USE_TIMER_3)
437
437
#define USE_TIMER_3 false
438
- #elif ( USE_TIMER_3 && ( TIMER_INTERRUPT_USING_ATMEGA_1284 ) )
439
- #warning Timer3 (16-bit) is OK to use for ATMEGA_1284(P)
438
+ #elif ( USE_TIMER_3 && ( TIMER_INTERRUPT_USING_ATMEGA_1284 || TIMER_INTERRUPT_USING_ATMEGA_324PB ) )
439
+ #warning Timer3 (16-bit) is OK to use for ATMEGA_1284(P) or ATMEGA_324PB
440
440
#elif USE_TIMER_3
441
- #error Timer3 is only available for ATMEGA_1284(P)
441
+ #error Timer3 is only available for ATMEGA_1284(P) and ATMEGA_324PB
442
442
#endif
443
443
444
444
#if !defined(USE_TIMER_4)
Original file line number Diff line number Diff line change @@ -653,7 +653,7 @@ void ATmega_TimerInterrupt::resumeTimer(void)
653
653
#endif //#ifndef TIMER2_INSTANTIATED
654
654
#endif //#if USE_TIMER_2
655
655
656
- #if (TIMER_INTERRUPT_USING_ATMEGA_1284 )
656
+ #if ( TIMER_INTERRUPT_USING_ATMEGA_1284 || TIMER_INTERRUPT_USING_ATMEGA_324PB )
657
657
658
658
// Pre-instatiate
659
659
#if USE_TIMER_3
@@ -705,7 +705,7 @@ void ATmega_TimerInterrupt::resumeTimer(void)
705
705
#endif //#ifndef TIMER3_INSTANTIATED
706
706
#endif //#if USE_TIMER_3
707
707
708
- #endif //#if (TIMER_INTERRUPT_USING_ATMEGA_1284)
708
+ #endif //#if ( TIMER_INTERRUPT_USING_ATMEGA_1284 || TIMER_INTERRUPT_USING_ATMEGA_324PB )
709
709
710
710
#if (TIMER_INTERRUPT_USING_ATMEGA_324PB )
711
711
You can’t perform that action at this time.
0 commit comments