waveshareteam / Pico_ePaper_Code

Waveshrae Pico e-Paper driver code
GNU General Public License v3.0
130 stars 46 forks source link

Update EPD_2in13_V3.c #14

Closed souramoo closed 2 years ago

souramoo commented 2 years ago

The function in this file void EPD_2in13_V3_Display_Partial(UBYTE *Image) calls a non-existent function (EPD_2IN13_V2_LUT_by_host), this adds it back.

Otherwise results in the error

ld.exe: lib\e-Paper\libePaper.a(EPD_2in13_V3.c.obj): in function `EPD_2in13_V3_Display_Partial':
EPD_2in13_V3.c:(.text.EPD_2in13_V3_Display_Partial+0x26): undefined reference to `EPD_2IN13_V2_LUT_by_host'

When trying to build the c/ folder with cmake.

Found with @greenyrepublic

SSYYL commented 2 years ago

Thanks for your feedback, it has been fixed via #14