mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Merge pull request #173 from diijkstra/vlan_console
Console: Add Ingress type & VLAN show table
This commit is contained in:
+2
-1
@@ -95,6 +95,7 @@ extern __xdata struct dhcp_state dhcp_state;
|
||||
__xdata volatile uint8_t sbuf_ptr;
|
||||
__xdata uint8_t sbuf[SBUF_SIZE];
|
||||
|
||||
// Registry data in sfr is in *big endian* order, so sfr_data[0] is the MSB and sfr_data[3] the LSB
|
||||
__xdata uint8_t sfr_data[4];
|
||||
|
||||
extern __xdata uint8_t gpio_last_value[8];
|
||||
@@ -462,7 +463,7 @@ void reg_bit_clear(uint16_t reg_addr, char bit)
|
||||
|
||||
|
||||
/*
|
||||
* This sets a bit in the 32bit wide switch register reg_addr
|
||||
* This tests a bit in the 32bit wide switch register reg_addr
|
||||
*/
|
||||
uint8_t reg_bit_test(uint16_t reg_addr, char bit)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user