1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

Fix handling of attribute byte (#12701)

This commit is contained in:
Steve Evans 2023-04-20 23:15:04 +01:00 committed by GitHub
parent 3167bf756c
commit 445758f3ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 101 additions and 101 deletions

View file

@ -1318,7 +1318,7 @@ case MSP_NAME:
const uint8_t warningsLen = strlen(warningsBuffer);
if (isBlinking) {
displayAttr |= DISPLAYPORT_ATTR_BLINK;
displayAttr |= DISPLAYPORT_BLINK;
}
sbufWriteU8(dst, displayAttr); // see displayPortSeverity_e
sbufWriteU8(dst, warningsLen); // length byte followed by the actual characters