Skip to content

Commit f8a4fbb

Browse files
committed
stm: Open header file in text mode (in make-pins).
1 parent 43122c3 commit f8a4fbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stm/boards/make-pins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def print(self):
199199
self.print_named('board', self.board_pins)
200200

201201
def print_header(self, hdr_filename):
202-
with open(hdr_filename, 'wb') as hdr_file:
202+
with open(hdr_filename, 'wt') as hdr_file:
203203
for pin in self.pins:
204204
if pin.board_name:
205205
pin.print_header(hdr_file)

0 commit comments

Comments
 (0)