KNX: Revert FastPrecisePowf due to lost precision

This commit is contained in:
Adrian Scillato 2020-06-16 15:06:23 -03:00 committed by GitHub
parent 715697cb32
commit f1780d11c1
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;