From 0be55bef64f22522d111c4dce1bfdcbcbdb24b14 Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Wed, 2 Feb 2022 18:10:06 +0800 Subject: [PATCH] arch/renesas: fix nxstyle warning Signed-off-by: chao.an --- arch/renesas/src/rx65n/rx65n_dtc.c | 4 ++-- arch/renesas/src/rx65n/rx65n_usbdev.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/renesas/src/rx65n/rx65n_dtc.c b/arch/renesas/src/rx65n/rx65n_dtc.c index 3565b8ee3d..a2cb9a751c 100644 --- a/arch/renesas/src/rx65n/rx65n_dtc.c +++ b/arch/renesas/src/rx65n/rx65n_dtc.c @@ -1352,7 +1352,7 @@ dtc_err_t rx65n_dtc_setup_seq_dynamic_transferdata(DTC_HANDLE handle, p_dtransfer_cfg++; p_transfer_data++; - count --; + count--; } } @@ -1555,7 +1555,7 @@ dtc_err_t rx65n_dtc_setup_dynamic_transferdata(DTC_HANDLE handle, p_dtransfer_cfg++; p_transfer_data++; - count --; + count--; } /* Restore RRS bit */ diff --git a/arch/renesas/src/rx65n/rx65n_usbdev.c b/arch/renesas/src/rx65n/rx65n_usbdev.c index 66bfff9013..86ef501e22 100644 --- a/arch/renesas/src/rx65n/rx65n_usbdev.c +++ b/arch/renesas/src/rx65n/rx65n_usbdev.c @@ -5838,7 +5838,7 @@ static int rx65n_usbinterrupt(int irq, FAR void *context, FAR void *arg) if (USB_ATTACH == usb_pstd_chk_vbsts()) { priv->attached = 1; - connected_times ++; + connected_times++; syslog (LOG_INFO, "NuttX: USB Device Connected. %d\n", connected_times); uinfo("Device attached\n");