Skip to content

Commit 1f71d90

Browse files
committed
format
1 parent 4ca1302 commit 1f71d90

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

bsp/cvitek/drivers/drv_eth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static void cvi_ephy_id_init(void)
6262

6363
// Release 0x0800[2]=1/dig_rst_n, Let mii_reg can be accessabile
6464
mmio_write_32(ETH_PHY_BASE + 0x800, 0x0904);
65-
65+
6666
// PHY_ID
6767
mmio_write_32(ETH_PHY_BASE + 0x008, 0x0043);
6868
mmio_write_32(ETH_PHY_BASE + 0x00c, 0x5649);

bsp/cvitek/drivers/drv_pwm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ int rt_hw_pwm_init(void)
328328
for (i = 0; i < sizeof(cvi_pwm) / sizeof(cvi_pwm[0]); i++)
329329
{
330330
cvi_pwm[i].device.base = (rt_ubase_t)DRV_IOREMAP((void *)cvi_pwm[i].device.base, 0x1000);
331-
331+
332332
result = rt_device_pwm_register(&cvi_pwm[i].device, cvi_pwm[i].name, &cvi_pwm_ops, &cvi_pwm[i]);
333333
if (result != RT_EOK)
334334
{

bsp/cvitek/drivers/drv_timer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ int rt_hw_timer_init(void)
407407
for (uint32_t i = 0; i < sizeof(_timer_obj) / sizeof(_timer_obj[0]); i++)
408408
{
409409
_timer_obj[i].base = (dw_timer_regs_t *)DRV_IOREMAP((void*)_timer_obj[i].base, 0x10000);
410-
410+
411411
_timer_obj[i].timer.info = &_timer_info;
412412
_timer_obj[i].timer.ops = &_timer_ops;
413413
ret = rt_device_hwtimer_register(&_timer_obj[i].timer, _timer_obj[i].name, &_timer_obj[i]);

bsp/cvitek/drivers/libraries/eth/dw_eth_mac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ static int32_t designware_eth_send(eth_mac_handle_t handle, const uint8_t *frame
377377
count ++;
378378
rt_thread_mdelay(1);
379379
}
380-
380+
381381
memcpy((void *)data_start, frame, length);
382382

383383
/* Flush data to be sent */

0 commit comments

Comments
 (0)