From 1dcb8426d67fc406112b8f4ec6f6d11a2b3c9fb0 Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Mon, 18 Dec 2017 00:25:35 +0000 Subject: [PATCH] Use the button HAL for all CC13xx/CC26xx devices --- arch/platform/srf06-cc26xx/platform.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/platform/srf06-cc26xx/platform.c b/arch/platform/srf06-cc26xx/platform.c index 4c6b9443e..54ca4c04a 100644 --- a/arch/platform/srf06-cc26xx/platform.c +++ b/arch/platform/srf06-cc26xx/platform.c @@ -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); } /*---------------------------------------------------------------------------*/