AP_Logger: add and use global NaNf float value

This commit is contained in:
Peter Barker 2024-09-23 19:43:11 +10:00 committed by Peter Barker
parent 08b4cc1374
commit 54247833c0

View File

@ -372,7 +372,7 @@ public:
void handle_log_send();
bool in_log_download() const;
float quiet_nanf() const { return nanf("0x4152"); } // "AR"
float quiet_nanf() const { return NaNf; } // "AR"
double quiet_nan() const { return nan("0x4152445550490a"); } // "ARDUPI"
// returns true if msg_type is associated with a message