mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
use macro for min_port and max_port for code optimization
This commit is contained in:
1 parent
c9e8403c6e
commit
7346977f91
12 files changed
+64
-61
No files matched your search
+1
-1
@@ -67,7 +67,7 @@ void storm_show(void) __banked
|
||||
{
|
||||
uint8_t i, t, idx;
|
||||
|
||||
for (i = machine.min_port; i <= machine.max_port; i++) {
|
||||
for (i = MACHINE_MIN_PORT; i <= MACHINE_MAX_PORT; i++) {
|
||||
print_string("port ");
|
||||
write_char('0' + machine.log_to_phys_port[i]);
|
||||
for (t = 0; t < STORM_TYPES; t++) {
|
||||
|
||||
Reference in new issue
Block a user