[En-Nut-Discussion] NutRegisterDevice(&devLcd, 0, 0)

Harald Kipp harald.kipp at egnite.de
Thu Jun 2 14:50:04 CEST 2005


You need to add

#include <dev/term.h>
#include <dev/hd44780.h>

Harald

At 22:24 02.06.2005 +1000, you wrote:
>Hi.
>
>Has anybody had problems with  NutRegisterDevice(&devLcd, 0, 0) where gcc
>complains that 'devLcd' undeclared.  I have looked at the nut/dev/hd44780.c
>and it certainly is 'devLcd'.  There are no problems with other NUTDEVICES
>such as Debug0, Debug1, etc. in a quick test suite, only devLcd.
>
>Help required please.
>----------------------------------------
>Cheers. Grahame
>_______________________________________________




More information about the En-Nut-Discussion mailing list