Add size-safe stable MOTA bridge mode
This commit is contained in:
1 parent
a57e2848a6
commit
8ba658db92
6 files changed
+14
-12
No files matched your search
+1
-1
@@ -79,7 +79,7 @@ void Dispatcher::restoreOutboundTxOverrides() {
|
||||
}
|
||||
|
||||
int Dispatcher::calcRxDelay(float score, uint32_t air_time) const {
|
||||
return (int) ((pow(10, 0.85f - score) - 1.0) * air_time);
|
||||
return (int) ((powf(10.0f, 0.85f - score) - 1.0f) * air_time);
|
||||
}
|
||||
|
||||
uint32_t Dispatcher::getCADFailRetryDelay() const {
|
||||
|
||||
Reference in new issue
Block a user