Merge pull request #8710 from ascillato/patch-1

KNX: Revert FastPrecisePowf due to lost of precision
This commit is contained in:
Theo Arends 2020-06-16 21:15:09 +02:00 committed by GitHub
commit 87b0978922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -398,7 +398,7 @@ typedef struct __callback_assignment
} callback_assignment_t;
// FastPrecisePowf from tasmota/support_float.ino
extern float FastPrecisePowf(const float x, const float y);
//extern float FastPrecisePowf(const float x, const float y);
class ESPKNXIP {
public:
@ -567,7 +567,7 @@ class ESPKNXIP {
callback_assignment_id_t __callback_register_assignment(address_t address, callback_id_t id);
void __callback_delete_assignment(callback_assignment_id_t id);
static inline float pow(float a, float b) { return FastPrecisePowf(a, b); }
//static inline float pow(float a, float b) { return FastPrecisePowf(a, b); }
ESP8266WebServer *server;
address_t physaddr;