notaz.gp2x.de
/
megadrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
35f00b6
)
disable some unneeded stuff
author
notaz
<notasas@gmail.com>
Thu, 11 Sep 2014 23:13:00 +0000
(
02:13
+0300)
committer
notaz
<notasas@gmail.com>
Thu, 11 Sep 2014 23:13:00 +0000
(
02:13
+0300)
teensy3/pins_teensy.c
patch
|
blob
|
blame
|
history
diff --git
a/teensy3/pins_teensy.c
b/teensy3/pins_teensy.c
index
e2d3c1d
..
de2d56f
100644
(file)
--- a/
teensy3/pins_teensy.c
+++ b/
teensy3/pins_teensy.c
@@
-30,7
+30,7
@@
#include "core_pins.h"
#include "pins_arduino.h"
#include "core_pins.h"
#include "pins_arduino.h"
-#include "HardwareSerial.h"
+
//
#include "HardwareSerial.h"
#if 0
// moved to pins_arduino.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
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();
}
//delay(100); // TODO: this is not necessary, right?
delay(4);
usb_init();
}
-
+#if 0
static uint8_t analog_write_res = 8;
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
// TODO: startup code needs to initialize all pins to GPIO mode, input by default