truly take advantage of __code pointer
This commit is contained in:
parent
c18c0dabfd
commit
1075e6d103
@ -227,10 +227,10 @@ void LCD_OutString(__xdata const char *string, uint8_t max_chars) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LCD_OutString_Initial(__code const char *string) {
|
void LCD_OutString_Initial(__code const char *s) {
|
||||||
const char *s;
|
while (*s) {
|
||||||
for (s = string; *s; s++) {
|
|
||||||
TERMIO_PutChar(*s);
|
TERMIO_PutChar(*s);
|
||||||
|
s++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user