[esp8266] Add enable_scanf_float option (#15284)

This commit is contained in:
J. Nick Koston
2026-04-01 13:18:24 +13:00
committed by Jesse Hills
parent 3d8a3a91f2
commit d79cf1d718
3 changed files with 116 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);