strncmp_P AVRGCC

Dukai Zoltan daemon82 at mailbox.hu
Sat Jun 26 14:11:27 CEST 2004


Udv!
Meg tudna valaki mondani hogy mit akar az jelenteni hogy
main.c:59: warning: passing arg 1 of `strncmp_P' discards qualifiers 
from pointer target type

Kodreszlet:
if(!(strncmp_P( &receive[i], PSTR("RING"),4)))
PORTB=PINB+1;

Ami a vicc hogy tokeletesen mukodik...




More information about the Elektro mailing list