Markus Hitter
|
1a2973a2de
|
analog-avr.c: take the opportunity to rewrite analog_read() here.
The former implementation easily led to memory corruption, because
no range check happened.
Costs 22 bytes binary size, unfortunately.
|
2015-08-12 14:26:37 +02:00 |
Markus Hitter
|
7805e741cd
|
analog-arm.c: read not by ADC channel number, but by Teacup number.
Analog reading should be complete by now :-)
|
2015-08-12 14:26:37 +02:00 |
Markus Hitter
|
708289714f
|
analog-arm.c: use configured analog pins, not two fixed ones.
An obvious neccessity, just not done before to show better how
stuff works.
|
2015-08-12 14:26:37 +02:00 |
Markus Hitter
|
56f6b381fd
|
ARM: split out analog-avr.c from analog.c.
|
2015-08-12 14:26:37 +02:00 |