[En-Nut-Discussion] Include <dev/board.h> in TWI devices like dev/at24c.c?
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Tue Jan 29 16:22:34 CET 2013
Hello,
some board define DEF_TWIBUS in include/dev/board.h or a file included from
board.h.
However
nut/dev/at24c.c
nut/dev/eeprom.c
nut/dev/mma745x.c
nut/dev/sht21.c
don't include dev/board.h.
Should the c-files above include board.h or are the boards wrong to define
DEF_TWIBUS in board.h
Bye
--
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