Keep bridge delay math in single precision

This commit is contained in:
mikecarper
2026-07-31 01:02:17 -07:00
parent a05acd72be
commit 35d6155ffd
+1 -1
View File
@@ -1091,7 +1091,7 @@ int MyMesh::calcRxDelayForPacket(const mesh::Packet* packet, float score,
float slow_base =
FloodFilterPolicy::slowScopeRxDelayBase(_prefs.rx_delay_base);
return (int)((pow(slow_base, 0.85f - score) - 1.0f) * air_time);
return (int)((powf(slow_base, 0.85f - score) - 1.0f) * air_time);
}
uint32_t MyMesh::getRetransmitDelay(const mesh::Packet *packet) {