mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
dhcp: de-__gptrget()-call in dhcp_print_ip()
This commit is contained in:
1 parent
791f68582d
commit
6c6d11ab33
1 file changed
+1
-1
@@ -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