Copter: split up medium loop
HAL_AVR: fixed SPI bus speed switching

this fixes a bug in changing the bus speed between devices
Copter: remove unused battery analog sources
Copter: scheduler times corrections