diff options
author | dweller <dweller@cabin.digital> | 2024-10-17 23:54:11 +0300 |
---|---|---|
committer | dweller <dweller@cabin.digital> | 2024-10-17 23:54:11 +0300 |
commit | 1debb5cfd63bf690bf29e7a176d82ecb9743f274 (patch) | |
tree | 872df50cfea67aa8f09a5b0396734ba835d63ad7 | |
parent | 7224a1b49ec261c10bbe3cf7c1ab2506acaafb6b (diff) |
Diffstat (limited to '')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -286,12 +286,12 @@ int main(void) gpio_put(rom_pins[i], rom_pins_def[i]); } - readmode(); - gpio_init(PIN_IO_OE); gpio_set_dir(PIN_IO_OE, GPIO_OUT); gpio_put(PIN_IO_OE, PIN_IO_OE_DEF); + readmode(); + for(int i = 0; i < SR_PIN_CNT; i++) { gpio_init(sr_pins[i]); |