PROGMEM changes needed for newer avr-gcc compiler
This commit is contained in:
parent
5fdcd6bc13
commit
6e45dfe5ff
14 changed files with 51 additions and 70 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue