mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-21 23:35:30 +03:00
Type sign fix
This commit is contained in:
parent
1970f64d87
commit
57b2f8437c
1 changed files with 2 additions and 2 deletions
|
@ -346,7 +346,7 @@ static const blackboxSimpleFieldDefinition_t blackboxSlowFields[] = {
|
|||
{"wind", 0, SIGNED, PREDICT(0), ENCODING(UNSIGNED_VB)},
|
||||
{"wind", 1, SIGNED, PREDICT(0), ENCODING(UNSIGNED_VB)},
|
||||
{"wind", 2, SIGNED, PREDICT(0), ENCODING(UNSIGNED_VB)},
|
||||
{"temperature", -1, SIGNED, PREDICT(0), ENCODING(UNSIGNED_VB)},
|
||||
{"temperature", -1, SIGNED, PREDICT(0), ENCODING(SIGNED_VB)},
|
||||
{"temperatureSource", -1, UNSIGNED, PREDICT(0), ENCODING(UNSIGNED_VB)},
|
||||
};
|
||||
|
||||
|
@ -1036,7 +1036,7 @@ static void writeSlowFrame(void)
|
|||
blackboxWriteSigned16VBArray(slowHistory.wind, XYZ_AXIS_COUNT);
|
||||
|
||||
blackboxWriteSignedVB(slowHistory.temperature);
|
||||
blackboxWriteSignedVB(slowHistory.temperatureSource);
|
||||
blackboxWriteUnsignedVB(slowHistory.temperatureSource);
|
||||
|
||||
blackboxSlowFrameIterationTimer = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue