From f1780d11c15b3df30c1cb5368b4b0322aa1c08b0 Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Tue, 16 Jun 2020 15:06:23 -0300 Subject: [PATCH] KNX: Revert FastPrecisePowf due to lost precision --- lib/esp-knx-ip-0.5.2/esp-knx-ip.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/esp-knx-ip-0.5.2/esp-knx-ip.h b/lib/esp-knx-ip-0.5.2/esp-knx-ip.h index ea711825f..7150706bb 100644 --- a/lib/esp-knx-ip-0.5.2/esp-knx-ip.h +++ b/lib/esp-knx-ip-0.5.2/esp-knx-ip.h @@ -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;