The oappend shim logic introduced in #4152 also has issues with SET_F(), as it casts away the helper type needed for print() to identify PROGMEM strings. Improve the shim logic to safely handle this case in two different ways:
Detect PROGMEM addresses and re-apply the helper type, allowing the correct overload of print() to be called;
Ask the platform to forgive us if we make a mistake, and handle it gracefully (if very slowly).
The
oappend
shim logic introduced in #4152 also has issues withSET_F()
, as it casts away the helper type needed forprint()
to identify PROGMEM strings. Improve the shim logic to safely handle this case in two different ways:print()
to be called;Fixes #4219.