mirror of https://github.com/rusefi/rusefi.git
null terminate USB strings
This commit is contained in:
parent
6fa7e64080
commit
13bbb72264
|
@ -218,7 +218,7 @@ static const uint8_t vcom_string2[] = {
|
|||
'r', 0, 'u', 0, 's', 0, 'E', 0, 'F', 0, 'I', 0, ' ', 0, 'E', 0,
|
||||
'n', 0, 'g', 0, 'i', 0, 'n', 0, 'e', 0, ' ', 0, 'M', 0, 'a', 0,
|
||||
'n', 0, 'a', 0, 'g', 0, 'e', 0, 'm', 0, 'e', 0, 'n', 0, 't', 0,
|
||||
' ', 0, 'E', 0, 'C', 0, 'U', 0
|
||||
' ', 0, 'E', 0, 'C', 0, 'U', 0, 0
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -230,6 +230,7 @@ static uint8_t vcom_string3[] = {
|
|||
'0', 0, '1', 0, '2', 0, '3', 0, '4', 0, '5', 0, '6', 0, '7', 0,
|
||||
'8', 0, '9', 0, 'A', 0, 'B', 0, 'C', 0, 'D', 0, 'E', 0, 'F', 0,
|
||||
'0', 0, '1', 0, '2', 0, '3', 0, '4', 0, '5', 0, '6', 0, '7', 0,
|
||||
0
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue