Closed sidwarkd closed 9 years ago
by-design... this was the only way this worked. the pgm_read_byte_far didn't work at all here. bug in arduino code? not sure.
the signature for strlen_PF()
is size_t strlen_PF (uint_farptr_t src)
, which is probably where the requirement for the uint_farptr_t
is coming from.
in
VirtualShield::sendFlashStringOnSerial()
(around line 788) thefor
loop checks for a far pointer and the next line does apgm_read_byte_near
.