Change the way we switch between cc2530 models
The switch is now performed through a configuration define, which has also been renamed to better match Contiki's naming conventions
This commit is contained in:
parent
1b0470687b
commit
f30d92b101
12 changed files with 29 additions and 19 deletions
|
@ -47,7 +47,7 @@ const struct sensors_sensor *sensors[] = {
|
|||
#endif
|
||||
#if BUTTON_SENSOR_ON
|
||||
&button_1_sensor,
|
||||
#if MODEL_CC2531
|
||||
#if MODELS_CONF_CC2531_USB_STICK
|
||||
&button_2_sensor,
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue