Compare commits

..

No commits in common. "3fcb2ab3835428bfd18256802bd8f126c1e5a474" and "34b56ef31a4ad8cc8eaddca10a3a382dd82a6bc3" have entirely different histories.

3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
"files.trimFinalNewlines": false,
"cmake.configureOnOpen": false,
"[cpp]": {
"editor.defaultFormatter": "trunk.io"
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"[powershell]": {
"editor.defaultFormatter": "ms-vscode.powershell"

View File

@ -4,8 +4,8 @@
| Firmware Version | Supported |
| ---------------- | ------------------ |
| 2.6.x | :white_check_mark: |
| <= 2.5.x | :x: |
| 2.5.x | :white_check_mark: |
| <= 2.4.x | :x: |
## Reporting a Vulnerability

View File

@ -513,7 +513,7 @@ void SerialModule::processWXSerial()
// Extract the current line
char line[meshtastic_Constants_DATA_PAYLOAD_LEN];
memset(line, '\0', sizeof(line));
if ((size_t)(lineEnd - lineStart) < sizeof(line) - 1) {
if (lineEnd - lineStart < sizeof(line) - 1) {
memcpy(line, &serialBytes[lineStart], lineEnd - lineStart);
ParsedLine parsed = parseLine(line);