From 51491381cef14c2dfe9b6dae16b70e426690d550 Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 24 Sep 2012 06:28:14 +0000 Subject: [PATCH] [sky9x] Rotary encoder should be enable --- src/board_ersky9x.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/board_ersky9x.cpp b/src/board_ersky9x.cpp index da305f897..e45401798 100644 --- a/src/board_ersky9x.cpp +++ b/src/board_ersky9x.cpp @@ -130,8 +130,7 @@ extern "C" void sam_boot( void ) ; inline void config_free_pins() { #ifdef REVB - configure_pins( PIO_PB6 | PIO_PB14, PIN_ENABLE | PIN_INPUT | PIN_PORTB | PIN_PULLUP ) ; - configure_pins( PIO_PC19 | PIO_PC21, PIN_ENABLE | PIN_INPUT | PIN_PORTC | PIN_PULLUP ) ; + configure_pins( PIO_PB14, PIN_ENABLE | PIN_INPUT | PIN_PORTB | PIN_PULLUP ) ; #else register Pio * pioptr = PIOA ; pioptr->PIO_PER = 0x03800000L ; // Enable bits A25,24,23