m2tklib icon indicating copy to clipboard operation
m2tklib copied to clipboard

EXTERN:LABELFN wrong

Open olikraus opened this issue 9 years ago • 0 comments

via mail from Nicola

I'm using since a while your m2tklib with u8g on many STM32 projects using Keil uVision. It works great, I already contacted you in the past, but it never hurts: thanks!

I know that you probably are no more maintaining this project, but I'd like to let you know that I found a little bug and I also have a question.

Bug: In file m2.h, line 676

define M2_EXTERN_LABELFN(el) extern M2_EL_CONST m2_el_str_t el

should be

define M2_EXTERN_LABELFN(el) extern M2_EL_CONST m2_el_labelfn_t el

otherwise, using M2_EXTERN_LABELFN, it won't compile.

olikraus avatar Nov 15 '15 18:11 olikraus