Author Topic: Missing strncmp_P()  (Read 1965 times)

SukkoPera

  • Newbie
  • *
  • Posts: 12
Missing strncmp_P()
« on: January 13, 2014, 03:59:00 pm »
I have a sketch that uses the strncmp_P function, and it does not compile when selecting the DigiX board.

I have added to my sketch:

Code: [Select]
#define strncmp_P(a, b, n) strncmp((a), (b), (n))
and it seems to do the job, but I guess this should be added to cores/digix/avr/pgmspace.h.