Move rtl_tag structure definition to common inlude

This commit is contained in:
logicog
2025-12-14 20:35:17 +01:00
parent a84c5dcd0c
commit 96977b5d88
2 changed files with 9 additions and 10 deletions
+9
View File
@@ -70,6 +70,15 @@ struct flash_region_t {
extern __xdata uint8_t uip_buf[UIP_CONF_BUFFER_SIZE+2];
// 8899 04 0000 20 0004
struct rtl_tag {
uint16_t tag;
uint8_t version;
uint16_t dummy;
uint8_t flag;
uint16_t pmask;
};
// Headers for calls in the common code area (HOME/BANK0)
void print_string(__code char *p);
-10
View File
@@ -35,16 +35,6 @@ __xdata uint16_t port_timers[10];
__xdata uint16_t port_hello[10];
// 8899 04 0000 20 0004
struct rtl_tag {
uint16_t tag;
uint8_t version;
uint16_t dummy;
uint8_t flag;
uint16_t pmask;
};
struct stp_pkt {
uint8_t stp_addr[6];
uint8_t src_addr[6];