Skip to content

Commit bda548a

Browse files
committed
update
1 parent 9aa42f5 commit bda548a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

bsp/phytium/board/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ void rt_hw_console_output(const char *str)
195195
rt_size_t i = 0, size = 0;
196196
char a = '\r';
197197
rt_enter_critical();
198-
198+
199199
size = rt_strlen(str);
200200
for( i = 0; i < size; i++)
201201
{

bsp/phytium/board/secondary_cpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void rt_hw_secondary_cpu_up(void)
7676
{
7777
continue;
7878
}
79-
cpu_mask = 1<<phytium_cpu_id_mapping(i);
79+
cpu_mask = 1 << phytium_cpu_id_mapping(i);
8080

8181
#if defined(TARGET_ARMV8_AARCH64)
8282
/* code */

bsp/phytium/libraries/drivers/drv_xmac_msg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ void FXmacMsgFeatureSetOptions(u32 feature, FXmacMsgCtrl* xmac_p)
10541054
if (feature & FXMAC_MSG_OS_CONFIG_JUMBO)
10551055
{
10561056
cmd_subid = FXMAC_MSG_CMD_SET_ENABLE_JUMBO;
1057-
FXmacMsgSendMessage(xmac_p, cmd_id, cmd_subid, NULL, 0, 0);
1057+
FXmacMsgSendMessage(xmac_p, cmd_id, cmd_subid, NULL, 0, 0);
10581058
LOG_I("FXMAC_MSG_JUMBO_ENABLE_OPTION is ok");
10591059
}
10601060
/* 单播 */
@@ -1072,8 +1072,8 @@ void FXmacMsgFeatureSetOptions(u32 feature, FXmacMsgCtrl* xmac_p)
10721072
/* 全帧 */
10731073
if (feature & FXMAC_MSG_OS_CONFIG_COPY_ALL_FRAMES)
10741074
{
1075-
cmd_subid = FXMAC_MSG_CMD_SET_ENABLE_PROMISE;
1076-
FXmacMsgSendMessage(xmac_p, cmd_id, cmd_subid, NULL, 0, 0);
1075+
cmd_subid = FXMAC_MSG_CMD_SET_ENABLE_PROMISE;
1076+
FXmacMsgSendMessage(xmac_p, cmd_id, cmd_subid, NULL, 0, 0);
10771077
LOG_I("FXMAC_MSG_PROMISC_OPTION is ok");
10781078
}
10791079
/* 关闭FCS(帧校验序列)校验 */

0 commit comments

Comments
 (0)