Compare commits
2 Commits
605c422c39
...
a1c89c96d5
Author | SHA1 | Date | |
---|---|---|---|
|
a1c89c96d5 | ||
|
76af8665b2 |
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
@ -2,10 +2,10 @@
|
|||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"options": {
|
"options": {
|
||||||
"env": {
|
"env": {
|
||||||
"APPLICATION": "blinky",
|
// "APPLICATION": "blinky",
|
||||||
// "APPLICATION": "spi",
|
// "APPLICATION": "spi",
|
||||||
// "APPLICATION": "st7789_lcd",
|
// "APPLICATION": "st7789_lcd",
|
||||||
// "APPLICATION": "sys_tick",
|
"APPLICATION": "sys_tick",
|
||||||
"${BUILD_CMD}": "eval docker run --env PLATFORM=${PLATFORM} --env APPLICATION=${APPLICATION} -t --rm -v '${workspaceFolder}':/work --user $(id -u):$(id -g) arm-none-eabi.buildenv",
|
"${BUILD_CMD}": "eval docker run --env PLATFORM=${PLATFORM} --env APPLICATION=${APPLICATION} -t --rm -v '${workspaceFolder}':/work --user $(id -u):$(id -g) arm-none-eabi.buildenv",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -39,8 +39,8 @@ int main(void)
|
|||||||
if(tick != last_tick) {
|
if(tick != last_tick) {
|
||||||
Gpio * tmp = *it;
|
Gpio * tmp = *it;
|
||||||
tmp->toggle();
|
tmp->toggle();
|
||||||
|
last_tick = tick;
|
||||||
}
|
}
|
||||||
last_tick = tick;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user