[En-Nut-Discussion] WinAVR-20080512 -- same error as 20080411

Thiago A. Corrêa thiago.correa at gmail.com
Wed May 21 00:58:14 CEST 2008


It seams the biggest problem right now isn't the sleep macro, but rather the

C:/programming/ethernut/nut/arch/avr/dev/wlandrv.c:1005: error: array
subscript is above array bounds

in:
                    size = sizeof(LABBuffer) - sizeof(LLCS_SNAP_HEADER);
                    memcpy(pFrameBuffer, pBytePointer, size);

which I have no idea how to workaround. :(

On Tue, May 20, 2008 at 6:32 PM, Ole Reinhardt
<ole.reinhardt at embedded-it.de> wrote:
> Hi,
>
>> Couldn't we just use avrlibc's sleep functions instead?
>
> Shure :) Sometimes the solution is even more simple :)
>
> I have not worked with avr for quite some time, could anyone with an avr
> board ready fix / test this and send me a patch to check it in?
>
> Regards,
>
> Ole Reinhardt
>
> --
>  _____________________________________________________________
> |                                                             |
> | Embedded-IT          Hard- und Softwarelösungen             |
> |                                                             |
> | Ole Reinhardt        Tel. / Fax:        +49 (0)271  7420433 |
> | Luisenstraße 29      Mobil:             +49 (0)177  7420433 |
> | 57076 Siegen         eMail:    ole.reinhardt at embedded-it.de |
> | Germany              Web:         http://www.embedded-it.de |
> |                      UstID / VAT:       DE198944716         |
> |_____________________________________________________________|
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>



More information about the En-Nut-Discussion mailing list