mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Don't pass the first 16-bit argument via xdata.
Calling confention already uses the DPTR registers as the first two byte arguments. So adds a lot of code to put the 16-bit value on xdata, still passes the 16-bit xdata ptr in DPTR registers, then read the xdata value. So it doesn't save any sram bytes.
This commit is contained in:
1 parent
1bec5cdf8a
commit
52fa41760c
2 files changed
+11
-11
No files matched your search
+1
-1
@@ -165,7 +165,7 @@ void send_basic_info(void)
|
||||
}
|
||||
|
||||
|
||||
void send_vlan(__xdata uint16_t vlan)
|
||||
void send_vlan(uint16_t vlan)
|
||||
{
|
||||
slen = strtox(outbuf, HTTP_RESPONCE_JSON);
|
||||
print_string("sending VLAN\n");
|
||||
|
||||
Reference in new issue
Block a user