main: Disable various MCU components to save power
authorPhilip Withnall <philip@tecnocode.co.uk>
Sat, 8 Dec 2012 10:50:36 +0000 (10:50 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sat, 8 Dec 2012 10:54:55 +0000 (10:54 +0000)
commita1e4ad7fe81949dd747bd6b9674104ca56b065ee
treeddcd356ccbd92367643d252051e44acacd87b552
parent183307142a178d2483e1836dfb9faee6f58a6c69
main: Disable various MCU components to save power

Disable various digital inputs, the analogue comparator and the ADC (when
it’s not in use) to save power.

This fixes bug #3dd#.
.be/d7748d52-7590-41a8-a685-fb322cadb50b/bugs/3dd93505-c6a1-481f-9e87-3bc27ecf7269/values
adc.c
adc.h
main.c