Skip to content

Commit 630e54e

Browse files
committed
make coplit happy
1 parent 91597ee commit 630e54e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

bsp/gd32/arm/libraries/gd32_drivers/drv_hw_i2c.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,8 @@ static rt_ssize_t gd32_i2c_master_xfer(struct rt_i2c_bus_device *bus, struct rt_
435435
{
436436
rt_hw_us_delay(1);
437437
}
438-
} else {
438+
}
439+
else {
439440
LOG_D("[%s] Last message has NO_STOP flag, leaving bus active.", cfg->device_name);
440441
}
441442
}

bsp/gd32/arm/libraries/gd32_drivers/drv_hw_i2c.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
6-
* Change Logs:
7-
* Date Author Notes
86
*/
97

108
#ifndef __DRV_HW_I2C_H__

0 commit comments

Comments
 (0)