mirror of https://github.com/arendst/Tasmota.git
Merge pull request #8710 from ascillato/patch-1
KNX: Revert FastPrecisePowf due to lost of precision
This commit is contained in:
commit
87b0978922
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue