multiple: Fix abs(int) usage on float values

This commit is contained in:
Sverre Velten Rothmund
2023-08-15 10:18:32 +02:00
committed by Mathieu Bresciani
parent 5f9443add4
commit b21ad6af14
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ build_gps_response(uint8_t *buffer, size_t *size)
if (lat < 0) {
msg.latitude_ns = 1;
lat = abs(lat);
lat = fabs(lat);
}
int deg;