[En-Nut-Discussion] SVN compilation fix: lanc111.c
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Sun Oct 18 19:45:14 CEST 2009
>>>>> "Harald" == Harald Kipp <harald.kipp at egnite.de> writes:
...
Harald> To Uwe: Almost all drivers use
Harald> for (;;) { int i;
Harald> for (i = 0; i < sizeof(ifn->if_mac); i++) { if (ifn->if_mac[i]
Harald> && ifn->if_mac[i] != 0xFF) { break; } } if (i <
Harald> sizeof(ifn->if_mac)) { break; } NutSleep(63); }
Harald> which is more complete and may even require less code on 8-bit
Harald> targets.
Harald> I'll add this one.
Is much shorter. Thanks!
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the En-Nut-Discussion
mailing list