summaryrefslogtreecommitdiff
path: root/hw/bsp/rx
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-03-17 16:12:49 +0700
committerhathach <[email protected]>2023-03-17 16:12:49 +0700
commit3623ba1884ddff23e9b64766cb6dd032f1425846 (patch)
tree5fc5ceddfdf79ce8c356df9114b3f3745d7eb492 /hw/bsp/rx
parent2faad42cb1d258155f714e5140bb27bc1ed30caf (diff)
fix trailing space and new line
temporarily disable codespell
Diffstat (limited to 'hw/bsp/rx')
-rw-r--r--hw/bsp/rx/boards/gr_citrus/gr_citrus.c6
-rw-r--r--hw/bsp/rx/boards/rx65n_target/rx65n_target.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/hw/bsp/rx/boards/gr_citrus/gr_citrus.c b/hw/bsp/rx/boards/gr_citrus/gr_citrus.c
index 9bd9399f6..4f87153ac 100644
--- a/hw/bsp/rx/boards/gr_citrus/gr_citrus.c
+++ b/hw/bsp/rx/boards/gr_citrus/gr_citrus.c
@@ -33,9 +33,9 @@
* - Short EMLE pad and 3.3V(GR-CITRUS pin name) with a wire.
*
* The pads are [the back side of GR-CITRUS](https://www.slideshare.net/MinaoYamamoto/grcitrusrx631/2).
- *
+ *
* Connect the pins between GR-CITRUS and JLink as follows.
- *
+ *
* | Function | GR-CITRUS pin | JLink pin No.| note |
* |:---------:|:-------------:|:------------:|:--------:|
* | VTref | 3.3V | 1 | |
@@ -91,7 +91,7 @@ void INT_Excep_SCI0_TXI0(void)
{
uint8_t *buf = sci0_buf[0].buf;
uint32_t cnt = sci0_buf[0].cnt;
-
+
if (!buf || !cnt) {
SCI0.SCR.BYTE &= ~(SCI_SCR_TEIE | SCI_SCR_TE | SCI_SCR_TIE);
return;
diff --git a/hw/bsp/rx/boards/rx65n_target/rx65n_target.c b/hw/bsp/rx/boards/rx65n_target/rx65n_target.c
index 3c729ad50..691038fc8 100644
--- a/hw/bsp/rx/boards/rx65n_target/rx65n_target.c
+++ b/hw/bsp/rx/boards/rx65n_target/rx65n_target.c
@@ -126,7 +126,7 @@ void INT_Excep_SCI5_TXI5(void)
{
uint8_t *buf = sci_buf[0].buf;
uint32_t cnt = sci_buf[0].cnt;
-
+
if (!buf || !cnt) {
SCI5.SCR.BYTE &= ~(SCI_SCR_TEIE | SCI_SCR_TE | SCI_SCR_TIE);
return;