Skip to content

Commit

Permalink
Pick up change that was accidentally merged into master
Browse files Browse the repository at this point in the history
  • Loading branch information
kilograham committed Aug 3, 2024
2 parents 09716c1 + e32ee9e commit c95295f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i2c/ssd1306_i2c/img_to_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
buffer.append(f'{out_byte:#04x}')

buffer = ", ".join(buffer)
buffer_hex = f'static uint8_t {img_name}[] = {{{buffer}}}\n'
buffer_hex = f'static uint8_t {img_name}[] = {{{buffer}}};\n'

with open(f'{img_name}.h', 'wt') as file:
file.write(f'#define IMG_WIDTH {img_width}\n')
Expand Down

0 comments on commit c95295f

Please sign in to comment.