[esp8266] Add enable_scanf_float option

This commit is contained in:
J. Nick Koston
2026-03-28 12:58:36 -10:00
parent b6abfec82e
commit 3f24a65e6a
2 changed files with 54 additions and 11 deletions
@@ -14,3 +14,6 @@ esphome:
assert(x == 95);
x = clamp_at_most(x, 40);
assert(x == 40);
- lambda: |-
float value = 0.0f;
sscanf("3.14", "%f", &value);