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:
George Oikonomou 2013-04-03 15:59:05 +01:00 committed by George Oikonomou
parent 1b0470687b
commit f30d92b101
12 changed files with 29 additions and 19 deletions

View file

@ -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