Skip to content

Commit 865fe63

Browse files
authored
Merge pull request #33 from libdriver/dev
fix: fix shell errors
2 parents a2123f8 + 31d1638 commit 865fe63

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.0.9 (2025-03-16)
2+
3+
## Bug Fixes
4+
5+
- fix shell errors
6+
17
## 2.0.8 (2025-03-15)
28

39
## Bug Fixes

project/raspberrypi4b/interface/src/shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static uint8_t a_shell_pretreatment(char *buf, uint16_t in_len, char *buf_out, u
8080
{
8181
if (flag == 0)
8282
{
83-
buf_out[(*out_len)] = NULL;
83+
buf_out[(*out_len)] = 0;
8484
(*out_len)++;
8585
flag = 1;
8686
}

0 commit comments

Comments
 (0)