altos/ao_cc1120: Only call ao_packet_slave_stop when HAS_SLAVE
authorKeith Packard <keithp@keithp.com>
Fri, 23 Mar 2018 23:34:23 +0000 (17:34 -0600)
committerKeith Packard <keithp@keithp.com>
Fri, 23 Mar 2018 23:37:02 +0000 (17:37 -0600)
commit58eda1736d8cffa6e3b5afce6f5faabbb179045e
treebab946bb6294ac250666fea6cfaab9de972b6495
parent49fd1fe435b116665b41722c7d14878a62bb3311
altos/ao_cc1120: Only call ao_packet_slave_stop when HAS_SLAVE

Don't try to disable packet slave mode when the product doesn't
support packet slave mode.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_cc1120.c