Skip to content

Commit 5d2a179

Browse files
committed
Restore files modified for testing purposes
1 parent 1953012 commit 5d2a179

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/workflows/file_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Check File Format, License and Static Code Analysis(cppcheck)
22

3-
on: [push, pull_request]
3+
on: [pull_request]
44

55
jobs:
66
scancode_job:

bsp/wch/risc-v/.ignore_format.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,5 @@
22
# If you need to exclude an entire folder, add the folder path in dir_path;
33
# If you need to exclude a file, add the path to the file in file_path.
44

5-
file_path:
6-
- Libraries/ch56x_drivers/ch56x_gpio.c
7-
85
dir_path:
96
- Libraries/CH32V10x_StdPeriph_Driver

bsp/wch/risc-v/Libraries/ch56x_drivers/ch56x_gpio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ static rt_base_t gpio_pin_get(const char *name)
186186
}
187187
if (pin < 32 && (pin_ports[port].pin_mark & (1 << pin)))
188188
{
189-
return port * 32 + pin;
189+
return port * 32 + pin;
190190
}
191191
}
192192
}

0 commit comments

Comments
 (0)