Digistump Forums

The DigiX => DigiX Support => Topic started by: SukkoPera on January 13, 2014, 03:59:00 pm

Title: Missing strncmp_P()
Post by: SukkoPera 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.