mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
tool/compile_gatt.py: use text-mode for temporary file - fix for windows
This commit is contained in:
parent
c782b5f27b
commit
d78181d6b7
@ -1018,7 +1018,7 @@ try:
|
||||
fin = codecs.open (args.gattfile, encoding='utf-8')
|
||||
|
||||
# pass 1: create temp .h file
|
||||
ftemp = tempfile.TemporaryFile()
|
||||
ftemp = tempfile.TemporaryFile(mode='w+t')
|
||||
parse(args.gattfile, fin, filename, sys.argv[0], ftemp)
|
||||
listHandles(ftemp)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user