Commit f8a4fbbb authored by Damien George's avatar Damien George
Browse files

stm: Open header file in text mode (in make-pins).

parent 43122c32
...@@ -199,7 +199,7 @@ class Pins(object): ...@@ -199,7 +199,7 @@ class Pins(object):
self.print_named('board', self.board_pins) self.print_named('board', self.board_pins)
def print_header(self, hdr_filename): def print_header(self, hdr_filename):
with open(hdr_filename, 'wb') as hdr_file: with open(hdr_filename, 'wt') as hdr_file:
for pin in self.pins: for pin in self.pins:
if pin.board_name: if pin.board_name:
pin.print_header(hdr_file) pin.print_header(hdr_file)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment