1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Fix the error "Err Field '0' (actuatorcommand.Channel.0) is signed (FT_INT16) but is being displayed unsigned (BASE_DEC_HEX)"

Stop attempting to display in hex
This commit is contained in:
Kevin Finisterre 2015-04-28 15:31:27 -04:00
parent d591ec7117
commit 6ee9eda7fb

View File

@ -233,7 +233,7 @@ bool UAVObjectGeneratorWireshark::process_object(ObjectInfo *info, QDir outputpa
} else if (info->fields[n]->type == FIELDTYPE_FLOAT32) {
headerfields.append(QString("\t BASE_NONE, NULL, 0x0, NULL, HFILL \r\n"));
} else {
headerfields.append(QString("\t BASE_DEC_HEX, NULL, 0x0, NULL, HFILL\r\n"));
headerfields.append(QString("\t BASE_DEC, NULL, 0x0, NULL, HFILL\r\n"));
}
headerfields.append(QString("\t },\r\n"));
headerfields.append(QString("\t },\r\n"));
@ -268,7 +268,7 @@ bool UAVObjectGeneratorWireshark::process_object(ObjectInfo *info, QDir outputpa
} else if (info->fields[n]->type == FIELDTYPE_FLOAT32) {
headerfields.append(QString("\t BASE_NONE, NULL, 0x0, NULL, HFILL \r\n"));
} else {
headerfields.append(QString("\t BASE_DEC_HEX, NULL, 0x0, NULL, HFILL\r\n"));
headerfields.append(QString("\t BASE_DEC, NULL, 0x0, NULL, HFILL\r\n"));
}
headerfields.append(QString("\t },\r\n"));
headerfields.append(QString("\t },\r\n"));