Use the button HAL for all CC13xx/CC26xx devices

This commit is contained in:
George Oikonomou 2017-12-18 00:25:35 +00:00
parent 8ac1cf92ce
commit 1dcb8426d6
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,7 @@
#include "lib/sensors.h"
#include "button-sensor.h"
#include "dev/serial-line.h"
#include "dev/button-hal.h"
#include "net/mac/framer/frame802154.h"
#include "board-peripherals.h"
@ -195,6 +196,9 @@ platform_init_stage_two()
#else
ieee_addr_cpy_to(linkaddr_node_addr.u8, LINKADDR_SIZE);
#endif
button_hal_init();
fade(LEDS_GREEN);
}
/*---------------------------------------------------------------------------*/