Renamed source file path.

Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
Yilin Sun 2022-12-08 19:46:52 +08:00
parent ebce09f00c
commit 3c50e737d8
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A
3 changed files with 14 additions and 1 deletions

12
.clang-format Normal file
View File

@ -0,0 +1,12 @@
BasedOnStyle: Google
IndentWidth: 4
AlignConsecutiveMacros: Consecutive
AlignConsecutiveDeclarations: Consecutive
AlignConsecutiveAssignments: Consecutive
BreakBeforeBraces: Custom
IndentGotoLabels: false
BraceWrapping:
AfterEnum: false
AfterStruct: false
SplitEmptyFunction: false
ColumnLimit: 120

View File

@ -14,7 +14,7 @@ project(${APP_TARGET})
add_subdirectory(${MBED_PATH})
add_executable(${APP_TARGET}
main.cpp
src/main.cpp
)
target_link_libraries(${APP_TARGET} mbed-os)

View File

@ -13,6 +13,7 @@ int main()
for(;;) {
led = !led;
ThisThread::sleep_for(500ms);
}