AP_JSON: replace ALLOW_DOUBLE_MATH_FUNCTIONS with AP_MATH_ALLOW_DOUBLE_FUNCTIONS

.... and this one is always defined, so check for truth!
This commit is contained in:
Peter Barker
2025-07-24 11:44:42 +10:00
committed by Andrew Tridgell
parent adb9a0874f
commit 796aba44a7

View File

@@ -34,7 +34,7 @@
#pragma GCC optimize("Os")
#define ALLOW_DOUBLE_MATH_FUNCTIONS
#define AP_MATH_ALLOW_DOUBLE_FUNCTIONS 1
#include "AP_JSON.h"
#include <AP_Filesystem/AP_Filesystem.h>