1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-18 07:52:14 +01:00

Enable pull-up on pin 0.

This commit is contained in:
Cristian Maglie 2012-10-19 14:00:11 +02:00
parent 05a2d77f15
commit c2e872149c

View File

@ -348,8 +348,8 @@ void init( void )
// Initialize C library
__libc_init_array();
// Disable pull-up on every pin
for (int i = 0; i < PINS_COUNT; i++)
// Disable pull-up on every pin except RX0
for (int i = 1; i < PINS_COUNT; i++)
digitalWrite(i, LOW);
// Initialize Serial port U(S)ART pins