Syntax tweaks

This commit is contained in:
Scott Lahteine
2017-11-25 18:13:36 -06:00
parent a9adc2c2f6
commit 27c5692b13
2 changed files with 9 additions and 6 deletions

View File

@ -1286,11 +1286,14 @@ void Temperature::init() {
case TIMER1A: case TIMER1B: //_SET_CS(1, val);
break;
#endif
#ifdef TCCR2
case TIMER2: case TIMER2: _SET_CS(2, val); break;
#endif
#ifdef TCCR2A
case TIMER2A: case TIMER2B: _SET_CS(2, val); break;
#if defined(TCCR2) || defined(TCCR2A)
#ifdef TCCR2
case TIMER2:
#endif
#ifdef TCCR2A
case TIMER2A: case TIMER2B:
#endif
_SET_CS(2, val); break;
#endif
#ifdef TCCR3A
case TIMER3A: case TIMER3B: case TIMER3C: _SET_CS(3, val); break;