mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Moving to Bank3
This commit is contained in:
1 parent
1ebee4d6e9
commit
735672ccf1
3 files changed
+6
-9
No files matched your search
+4
-4
@@ -1,5 +1,5 @@
|
||||
#pragma codeseg BANK2
|
||||
#pragma constseg BANK2
|
||||
#pragma codeseg BANK3
|
||||
#pragma constseg BANK3
|
||||
|
||||
#include "rtl837x_common.h"
|
||||
#include "rtl837x_lldp.h"
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "uip/uip.h"
|
||||
#include "machine.h"
|
||||
|
||||
extern __xdata uint8_t lldp_enabled;
|
||||
extern __xdata bool lldp_enabled;
|
||||
extern __code const struct machine machine;
|
||||
|
||||
uint8_t lldp_seconds;
|
||||
@@ -178,4 +178,4 @@ void lldp_sysdesc(uint8_t *p, uint16_t *len) __banked
|
||||
p[(*len)++] = *mp++;
|
||||
}
|
||||
p[(*len)-machine_name_length-1] = machine_name_length;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user