
28 Aug
2006
28 Aug
'06
12:24 p.m.
Hi,
I'd like to use DS1374 watchdog capabilities. Is it correct to put the new stuff in the existing RTC driver (rtc/ds1374.c)? I was thinking about something like this:
#if (defined(CONFIG_RTC_DS1374)) &&
#if (CONFIG_COMMANDS & CFG_CMD_DATE) existing stuff #endif
#if (CONFIG_WATCHDOG) new stuff #endif
#endif
If it is not acceptable, where should I put the new stuff?
TIA, llandre
DAVE Electronics System House - R&D Department web: http://www.dave-tech.it email: r&d2@dave-tech.it