altos: Clean up usage of port parameters
authorKeith Packard <keithp@keithp.com>
Wed, 27 Jun 2012 06:01:58 +0000 (23:01 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 27 Jun 2012 06:01:58 +0000 (23:01 -0700)
commit03dc80d15a2f8fe9d7340351226dadd8bc3cfdb9
treec7b1e429181961dbdc5f2e701b22b6950abaa860
parentf11f05c5d634de2a80c34d0d3dc93925980f52e6
altos: Clean up usage of port parameters

Make stm port parameters always be pointers; this avoids the confusion
where some macros took '&port' and others took a bare 'port', and also
unifies code to run on other processors in a consistent fashion.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 files changed:
src/cc1111/ao_arch_funcs.h
src/cc1111/ao_pins.h
src/drivers/ao_25lc1024.c
src/drivers/ao_at45db161d.c
src/drivers/ao_companion.c
src/drivers/ao_hmc5883.c
src/drivers/ao_ms5607.c
src/megametrum-v0.1/ao_pins.h
src/stm-demo/ao_pins.h
src/stm/ao_adc_stm.c
src/stm/ao_arch_funcs.h
src/stm/ao_led.c