diff options
author | Keith Packard <keithp@keithp.com> | 2018-08-15 17:34:20 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2018-10-13 08:22:50 -0700 |
commit | 6023ff81f1bbd240169b9548209133d3b02d475f (patch) | |
tree | 4526e7ac4386cbd73ebea1d896548dd2997d2bbb /src/kernel/ao_balloon.c | |
parent | e2e2182a6ae6c8a7290fb5f7bbb7f8e0a863ba99 (diff) |
altos: Remove *_TO_DATA macros
Now that we don't support 8051, we don't need these
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel/ao_balloon.c')
-rw-r--r-- | src/kernel/ao_balloon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/ao_balloon.c b/src/kernel/ao_balloon.c index 47b69e25..d0f80a5d 100644 --- a/src/kernel/ao_balloon.c +++ b/src/kernel/ao_balloon.c @@ -96,7 +96,7 @@ ao_flight(void) ao_led_off(AO_LED_RED); } /* wakeup threads due to state change */ - ao_wakeup(DATA_TO_XDATA(&ao_flight_state)); + ao_wakeup(&ao_flight_state); break; case ao_flight_pad: @@ -118,7 +118,7 @@ ao_flight(void) ao_wakeup(&ao_gps_new); #endif - ao_wakeup(DATA_TO_XDATA(&ao_flight_state)); + ao_wakeup(&ao_flight_state); } break; default: |