mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-09-02 15:02:51 +08:00
Merge pull request #383 from DrDoof/fix/isolate-off-top-port
cmd: let "isolate off" put the top port back in the member list
This commit is contained in:
+1
-1
@@ -573,7 +573,7 @@ void parse_isolate(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cmd_compare(2, "off")) {
|
if (cmd_compare(2, "off")) {
|
||||||
for (uint8_t i = machine.min_port; i < machine.max_port; i++)
|
for (uint8_t i = machine.min_port; i <= machine.max_port; i++)
|
||||||
members |= ((uint16_t)1) << i;
|
members |= ((uint16_t)1) << i;
|
||||||
members |= 0x200; // CPU-port
|
members |= 0x200; // CPU-port
|
||||||
port_isolate(port_configured, members);
|
port_isolate(port_configured, members);
|
||||||
|
|||||||
Reference in New Issue
Block a user