As [EMAIL PROTECTED] wrote: > First of all, I don't know if this is the appropriate way to report > a bug in AVR Libc. If not, please tell me the correct procedure.
Well, for a genuine bug report, the way to submit it would be via https://savannah.nongnu.org/bugs/?group=avr-libc However, what you're talking here about is more like a request for discussion, and that's fine with that mailing list. > In ATmega324P you have to make sure the WDRF bit in MCUSR is clear > before you try to disable the watchdog. Well, this is something that needs to be handled at the application level. Depending on the application, it has to be handled very early at startup (e.g. in situations where the application has much SRAM to initialize, or a C++ application that runs expensive global constructors), and it only has to be handled once. For the latter reason, we decided it's nothing you'd want to perform within each call to wdt_disable() but rather documented some example code within the prolog of the <avr/wdt.h> documentation about how an application might want to handle that. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev