We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 09716c1 + e32ee9e commit c95295fCopy full SHA for c95295f
i2c/ssd1306_i2c/img_to_array.py
@@ -73,7 +73,7 @@
73
buffer.append(f'{out_byte:#04x}')
74
75
buffer = ", ".join(buffer)
76
-buffer_hex = f'static uint8_t {img_name}[] = {{{buffer}}}\n'
+buffer_hex = f'static uint8_t {img_name}[] = {{{buffer}}};\n'
77
78
with open(f'{img_name}.h', 'wt') as file:
79
file.write(f'#define IMG_WIDTH {img_width}\n')
0 commit comments