olikraus / m2tklib

Automatically exported from code.google.com/p/m2tklib
Other
49 stars 11 forks source link

EXTERN:LABELFN wrong #155

Open olikraus opened 8 years ago

olikraus commented 8 years ago

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.