|
@@ -13305,11 +13305,14 @@ void prepare_move_to_destination() {
|
13305
|
13305
|
case TIMER1A: case TIMER1B: //_SET_CS(1, val);
|
13306
|
13306
|
break;
|
13307
|
13307
|
#endif
|
13308
|
|
- #ifdef TCCR2
|
13309
|
|
- case TIMER2: case TIMER2: _SET_CS(2, val); break;
|
13310
|
|
- #endif
|
13311
|
|
- #ifdef TCCR2A
|
13312
|
|
- case TIMER2A: case TIMER2B: _SET_CS(2, val); break;
|
|
13308
|
+ #if defined(TCCR2) || defined(TCCR2A)
|
|
13309
|
+ #ifdef TCCR2
|
|
13310
|
+ case TIMER2:
|
|
13311
|
+ #endif
|
|
13312
|
+ #ifdef TCCR2A
|
|
13313
|
+ case TIMER2A: case TIMER2B:
|
|
13314
|
+ #endif
|
|
13315
|
+ _SET_CS(2, val); break;
|
13313
|
13316
|
#endif
|
13314
|
13317
|
#ifdef TCCR3A
|
13315
|
13318
|
case TIMER3A: case TIMER3B: case TIMER3C: _SET_CS(3, val); break;
|