From e2da880b5fcf9c200123035f675753f5488ffecc Mon Sep 17 00:00:00 2001 From: Stephen Caudle Date: Thu, 23 Jul 2015 23:39:51 -0400 Subject: Cleanup nRF51 serial driver Use values from bitfields header. Also convert notify1 function to be non-blocking, which seems to be how most of the other serial drivers are implemented. --- demos/NRF51/RT-WVSHARE_BLE400/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/NRF51') diff --git a/demos/NRF51/RT-WVSHARE_BLE400/main.c b/demos/NRF51/RT-WVSHARE_BLE400/main.c index 4f5e49d..d0b18cc 100644 --- a/demos/NRF51/RT-WVSHARE_BLE400/main.c +++ b/demos/NRF51/RT-WVSHARE_BLE400/main.c @@ -39,8 +39,8 @@ int main(void) { SerialConfig serial_config = { .speed = 38400, - .tx_pin = UART_TX, - .rx_pin = UART_RX, + .tx_pad = UART_TX, + .rx_pad = UART_RX, }; /* -- cgit v1.2.3