avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #23004] Watchdog enable docu only generated for Xmeg


From: Wouter
Subject: [avr-libc-dev] [bug #23004] Watchdog enable docu only generated for Xmega series
Date: Sun, 20 Apr 2008 19:31:37 +0000
User-agent: Opera/9.27 (Windows NT 5.1; U; nl)

URL:
  <http://savannah.nongnu.org/bugs/?23004>

                 Summary: Watchdog enable docu only generated for Xmega
series
                 Project: AVR C Runtime Library
            Submitted by: wutje
            Submitted on: Sunday 04/20/2008 at 21:31
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.6.2
           Fixed Release: None

    _______________________________________________________

Details:

The addition of Xmega ifdef has broken the documentation generation for
wdt_enable.

The code is now this:
#if defined(__AVR_ATxmega128A1__) \
|| defined(__AVR_ATxmega64A1__)


/**
   \ingroup avr_watchdog
   Enable the watchdog timer, configuring it for expiry after
   \c timeout (which is a combination of the \c WDP0 through
   \c WDP2 bits to write into the \c WDTCR register; For those devices 
   that have a \c WDTCSR register, it uses the combination of the \c WDP0 
   through \c WDP3 bits).

   See also the symbolic constants \c WDTO_15MS et al.
*/


should of course be:
/**
   \ingroup avr_watchdog
   Enable the watchdog timer, configuring it for expiry after
   \c timeout (which is a combination of the \c WDP0 through
   \c WDP2 bits to write into the \c WDTCR register; For those devices 
   that have a \c WDTCSR register, it uses the combination of the \c WDP0 
   through \c WDP3 bits).

   See also the symbolic constants \c WDTO_15MS et al.
*/
#if defined(__AVR_ATxmega128A1__) \
|| defined(__AVR_ATxmega64A1__)





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?23004>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]