AP_InternalError: remove leading comma in descriptive string

"i" just looks so likely....
This commit is contained in:
Peter Barker 2020-07-01 11:18:06 +10:00 committed by Peter Barker
parent 653714ce29
commit 4527321035
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ void AP_InternalError::errors_as_string(uint8_t *buffer, const uint16_t len) con
}
if (internal_errors & (1U<<i)) {
const char *format;
if (i == 0) {
if (buffer_used == 0) {
format = "%s";
} else {
format = ",%s";