snprintf_P wrongly defined in pgmspace.h ?

luni

Well-known member
FYI
I was trying to implement a websocket server (https://github.com/ejeklint/ArduinoWebsocketServer) which didn't work. During debugging I finally found that the library uses snprintf_P which I think is defined wrongly in pgmspace.h.

teensyduino question.JPG

Looks like somebody prepared the corresponding lines but didn't finalize them? Unfortunately code using snprintf_P compiles but doesn't work of course.

Best regards
Lutz
 
Back
Top