PROGMEM changes needed for newer avr-gcc compiler

This commit is contained in:
David Kopf 2012-02-21 11:10:57 -05:00
parent 5fdcd6bc13
commit 6e45dfe5ff
14 changed files with 51 additions and 70 deletions

View file

@ -384,14 +384,6 @@ rs232_set_input(uint8_t port, int (*f)(unsigned char))
#endif
}
void
rs232_print_p(uint8_t port, prog_char *buf)
{
while(pgm_read_byte(buf)) {
rs232_send(port, pgm_read_byte(buf));
++buf;
}
}
/*---------------------------------------------------------------------------*/
void
rs232_print(uint8_t port, char *buf)