summaryrefslogtreecommitdiff
path: root/src/cc1111/ao_battery.c
Commit message (Collapse)AuthorAge
* altos: Fix battery voltage computation.Keith Packard2011-10-23
| | | | | | Full scale is 4.95V, not 3.333V. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add battery voltage sampling driverKeith Packard2011-10-23
For devices without a full ADC compliment, this just samples the battery pin and converts to mV. Signed-off-by: Keith Packard <keithp@keithp.com>