From: notaz Date: Thu, 11 Sep 2014 23:13:00 +0000 (+0300) Subject: disable some unneeded stuff X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b1ee79c96708a86794c17057023dbd0b8bc81f0;p=teensytas.git disable some unneeded stuff --- diff --git a/teensy3/pins_teensy.c b/teensy3/pins_teensy.c index e2d3c1d..de2d56f 100644 --- a/teensy3/pins_teensy.c +++ b/teensy3/pins_teensy.c @@ -30,7 +30,7 @@ #include "core_pins.h" #include "pins_arduino.h" -#include "HardwareSerial.h" +//#include "HardwareSerial.h" #if 0 // moved to pins_arduino.h @@ -359,13 +359,13 @@ void _init_Teensyduino_internal_(void) FTM2_SC = FTM_SC_CLKS(1) | FTM_SC_PS(DEFAULT_FTM_PRESCALE); #endif - analog_init(); + //analog_init(); //delay(100); // TODO: this is not necessary, right? delay(4); usb_init(); } - +#if 0 static uint8_t analog_write_res = 8; @@ -527,7 +527,7 @@ void analogWriteFrequency(uint8_t pin, uint32_t frequency) } } - +#endif // TODO: startup code needs to initialize all pins to GPIO mode, input by default