altos/stm: Use #define'd constants for GPIO register addresses
authorKeith Packard <keithp@keithp.com>
Tue, 13 May 2014 05:56:38 +0000 (22:56 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 13 May 2014 05:56:38 +0000 (22:56 -0700)
commita25c34ef0a92beaa0695e0d0020eda5e26b309e2
tree4aedbd7aff77f8933250e7e8e9fe7486cd4fd3b7
parent530894f508874f4cb3db644ca9ca679ed704f964
altos/stm: Use #define'd constants for GPIO register addresses

This lets the compiler short-circuit the tests in ao_enable_gpio and
ao_disable_gpio to save a bit of code space and time.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/stm32l.h