diff options
author | あく <alleteam@gmail.com> | 2021-06-23 17:58:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 17:58:44 +0300 |
commit | 8116bfcbabb7f218a0eb7c69b301b3fa07bf0ac8 (patch) | |
tree | 96aa2a89ad79a12bd38fc089f7913fb68013db08 /applications/cli | |
parent | 359bbdfe69893cd6e15f26bb155a6e5756bab601 (diff) |
[FL-1443, FL-1289] Move assets compilation to separate Makefile. Add scripts folder. Add OTP flashing with DFU. (#531)
* Assets: move assets compilation to separate Makefile. Move all scripts to scripts folder. Add scripts ReadMe. Add precompiled assets.
* Split assets.py into separate entities. Option bytes for FL-1289 and checker/setter.
* Cli: explicitly initialize variable befor use in api_hal_vcp_rx_with_timeout
* Rename ob_check script to ob.
Diffstat (limited to 'applications/cli')
-rw-r--r-- | applications/cli/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/cli/cli.c b/applications/cli/cli.c index ae84f325..6eb3d5da 100644 --- a/applications/cli/cli.c +++ b/applications/cli/cli.c @@ -51,7 +51,7 @@ size_t cli_read(Cli* cli, uint8_t* buffer, size_t size) { } bool cli_cmd_interrupt_received(Cli* cli) { - char c; + char c = '\0'; api_hal_vcp_rx_with_timeout((uint8_t*)&c, 1, 1); return c == CliSymbolAsciiETX; } |