pico-examples icon indicating copy to clipboard operation
pico-examples copied to clipboard

I found a small problem in i2c/oled_i2c/img_to_array.py

Open bickman opened this issue 3 years ago • 1 comments

Problem: If people use this script to generate their own image's head file, when compiling they will get an error , because in the generated .h file lack a ; Fix: in the file img_to_array.py line 76 add a ; buffer_hex = f'static uint8_t {img_name}[] = {{{buffer}}};\n'

bickman avatar Jun 24 '22 03:06 bickman

ping @JamesH65 as I believe he was looking at this example as part of #217

lurch avatar Jun 24 '22 08:06 lurch