No rotary encoders on 9XR-PRO

This commit is contained in:
bsongis
2014-05-12 19:38:45 +02:00
parent df73c969c6
commit cc38920432
3 changed files with 12 additions and 10 deletions
+4
View File
@@ -654,7 +654,9 @@ void boardInit()
eepromInit();
#if defined(ROTARY_ENCODERS)
rotencInit();
#endif
init_SDcard();
}
@@ -781,7 +783,9 @@ void usbBootloader()
// This might be replaced by a software reset
// Any interrupts that have been enabled must be disabled here
// BEFORE calling sam_boot()
#if defined(ROTARY_ENCODERS)
rotencEnd();
#endif
endPdcUsartReceive() ; // Terminate any serial reception
end_bt_tx_interrupt() ;
stop_trainer_capture() ;