浏览代码

lpc43xx: output a newline in the header file

Some compiler is brain-damaged that it will yeild a warning for headers
not ended with a newline. Yes, I mean you, Keil.
Grissiom 10 年之前
父节点
当前提交
833339e1c6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      bsp/lpc43xx/bin2C.py

+ 1 - 0
bsp/lpc43xx/bin2C.py

@@ -11,3 +11,4 @@ for i in fi.read():
     fo.write('0x%02x, ' % ord(i))
     fo.write('0x%02x, ' % ord(i))
     if idx % 16 == 0:
     if idx % 16 == 0:
         fo.write('\n')
         fo.write('\n')
+fo.write('\n')