1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

fix braces

This commit is contained in:
ctzsnooze 2024-11-06 13:18:17 +11:00
parent bc428c9cf5
commit add64ebfe1

View file

@ -208,7 +208,8 @@ void resetLocation(earthFrame_t *efAxis, axisEF_t loopAxis)
efAxis->previousDistance = 0.0f; // and reset the previous distance
}
bool positionControl(void) {
bool positionControl(void)
{
static uint16_t previousGpsStamp = ~0;
if (currentGpsStamp() != previousGpsStamp) {
previousGpsStamp = currentGpsStamp();