mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Fix l2 table, same as #355 but for CLI.
This commit is contained in:
1 parent
54b5e90976
commit
13509d56e5
1 file changed
+1
-1
+1
-1
@@ -417,7 +417,7 @@ void port_l2_learned(void) __banked
|
|||||||
|
|
||||||
// type
|
// type
|
||||||
reg_read_m(RTL837x_L2_DATA_OUT_C);
|
reg_read_m(RTL837x_L2_DATA_OUT_C);
|
||||||
if (sfr_data[2] & 0x1)
|
if (sfr_data[1] & 0x1)
|
||||||
print_string("\tstatic\t");
|
print_string("\tstatic\t");
|
||||||
else
|
else
|
||||||
print_string("\tlearned\t");
|
print_string("\tlearned\t");
|
||||||
|
|||||||
Reference in new issue
Block a user