You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix incorrect reading of floats in ESP8266 cores 2.5.1 and higher
ESP8266 cores 2.5.1 and 2.5.2 have an alignment issue causing incorrect reading of floats in PROGMEM
See esp8266/Arduino#5628 and esp8266/Arduino#5692
By default the 2.5.1 and 2.5.2 cores use pgm_read_float_unaligned() but then the PROGMEM floats are not properly read.
The read frequencies were way to high resulting in crackling noise or high pitched sound.
Added a conditional redefine for ESP8266 environment which fixes properly reading the float values.
0 commit comments