diff options
author | Nico <NicoHood@users.noreply.github.com> | 2015-09-25 09:30:41 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-09-28 16:30:40 +0200 |
commit | 5ab6edb114eb8b0fb51939669aae2980309602fd (patch) | |
tree | 8e78facf076fe0413d0e689618af0e139731b3a2 /cores/arduino | |
parent | a7edf4d66f66d42ebb7e166762ac7c11cb299a3f (diff) |
Removed Timer warnings when Timer 2 is not present
Diffstat (limited to 'cores/arduino')
-rw-r--r-- | cores/arduino/wiring.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cores/arduino/wiring.c b/cores/arduino/wiring.c index f1a14ef..68fb0ca 100644 --- a/cores/arduino/wiring.c +++ b/cores/arduino/wiring.c @@ -312,8 +312,8 @@ void init() sbi(TCCR2, CS22); #elif defined(TCCR2B) && defined(CS22) sbi(TCCR2B, CS22); -#else - #warning Timer 2 not finished (may not be present on this CPU) +//#else + // Timer 2 not finished (may not be present on this CPU) #endif // configure timer 2 for phase correct pwm (8-bit) @@ -321,8 +321,8 @@ void init() sbi(TCCR2, WGM20); #elif defined(TCCR2A) && defined(WGM20) sbi(TCCR2A, WGM20); -#else - #warning Timer 2 not finished (may not be present on this CPU) +//#else + // Timer 2 not finished (may not be present on this CPU) #endif #if defined(TCCR3B) && defined(CS31) && defined(WGM30) |