summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index cda91b4..ff01e92 100644
--- a/main.c
+++ b/main.c
@@ -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]);