[En-Nut-Discussion] reclaiming PE0 and PE1 from uart0

Matthias Ringwald mringwal at inf.ethz.ch
Wed Nov 16 14:10:00 CET 2005


hi peter

> so i added the nut/dev/null from the cvs, but i am using Nut/OS  
> 3.4.2 stable
> and I get
>
> ../ethernut/nut/dev/null.c:163: warning: initialization from  
> incompatible pointer type
> ../ethernut/nut/dev/null.c:164: warning: initialization from  
> incompatible pointer type
>
> when i try to compile the code with the null device.

looks like the _NUTDEVICE in include/sys/device.h has changed in the  
meantime.
you have to adapt the NullOpen and NullClose to match those given in  
_NUTDEVICE

matthias





More information about the En-Nut-Discussion mailing list