diff --git a/scripts/gen_gpio_defaults.py b/scripts/gen_gpio_defaults.py index 32339825..15347e79 100755 --- a/scripts/gen_gpio_defaults.py +++ b/scripts/gen_gpio_defaults.py @@ -391,7 +391,7 @@ if __name__ == '__main__': outlines.append(magline) if not testmode: - with open(glpath + '/caravan.v', 'w') as ofile: + with open(magpath + '/caravan.mag', 'w') as ofile: for outline in outlines: print(outline, file=ofile)