fix double semicolons
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/4e06eb5d Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/4e06eb5d Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/4e06eb5d Branch: refs/heads/bluetooth5 Commit: 4e06eb5d8dc93edfbc14e1a00b3edf8ebc93b1dc Parents: d96b601 Author: Jacob Rosenthal <[email protected]> Authored: Wed May 10 22:03:33 2017 -0700 Committer: Vipul Rahane <[email protected]> Committed: Thu May 11 11:39:00 2017 -0700 ---------------------------------------------------------------------- apps/sensors_test/src/main.c | 2 +- hw/mcu/nxp/MK64F12/src/hal_uart.c | 2 +- net/nimble/host/src/ble_sm.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/4e06eb5d/apps/sensors_test/src/main.c ---------------------------------------------------------------------- diff --git a/apps/sensors_test/src/main.c b/apps/sensors_test/src/main.c index f6ef755..d05cb94 100755 --- a/apps/sensors_test/src/main.c +++ b/apps/sensors_test/src/main.c @@ -398,7 +398,7 @@ config_sensor(void) } /* Gain set to 16X and Inetgration time set to 24ms */ - tcscfg.gain = TCS34725_GAIN_16X;; + tcscfg.gain = TCS34725_GAIN_16X; tcscfg.integration_time = TCS34725_INTEGRATIONTIME_24MS; rc = tcs34725_config((struct tcs34725 *)dev, &tcscfg); http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/4e06eb5d/hw/mcu/nxp/MK64F12/src/hal_uart.c ---------------------------------------------------------------------- diff --git a/hw/mcu/nxp/MK64F12/src/hal_uart.c b/hw/mcu/nxp/MK64F12/src/hal_uart.c index ba56d5e..a4dcd14 100644 --- a/hw/mcu/nxp/MK64F12/src/hal_uart.c +++ b/hw/mcu/nxp/MK64F12/src/hal_uart.c @@ -100,7 +100,7 @@ static void (*s_uartirqs[])(void) = { static uint8_t ur_is_empty(struct uart_ring *ur) { - return (ur->ur_head == ur->ur_tail);; + return (ur->ur_head == ur->ur_tail); } static uint8_t ur_is_full(struct uart_ring *ur) http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/4e06eb5d/net/nimble/host/src/ble_sm.c ---------------------------------------------------------------------- diff --git a/net/nimble/host/src/ble_sm.c b/net/nimble/host/src/ble_sm.c index 9c925fd..0a4d09e 100644 --- a/net/nimble/host/src/ble_sm.c +++ b/net/nimble/host/src/ble_sm.c @@ -1720,7 +1720,7 @@ ble_sm_sec_req_rx(uint16_t conn_handle, struct os_mbuf **om, */ ble_hs_conn_addrs(conn, &addrs); memset(&key_sec, 0, sizeof key_sec); - key_sec.peer_addr = addrs.peer_id_addr;; + key_sec.peer_addr = addrs.peer_id_addr; } ble_hs_unlock();
