mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
dhcp: de-__gptrget()-call in dhcp_print_ip()
This commit is contained in:
@@ -82,7 +82,7 @@ struct dhcp_pkt {
|
|||||||
__xdata uint32_t long_value;
|
__xdata uint32_t long_value;
|
||||||
|
|
||||||
|
|
||||||
void dhcp_print_ip(uint8_t *a)
|
void dhcp_print_ip(__xdata uint8_t *a)
|
||||||
{
|
{
|
||||||
itoa(a[0]); write_char('.');
|
itoa(a[0]); write_char('.');
|
||||||
itoa(a[1]); write_char('.');
|
itoa(a[1]); write_char('.');
|
||||||
|
|||||||
Reference in New Issue
Block a user