[Top][All Lists]

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

[avr-libc-dev] [bug #30735] bug in example twitest

From: Harald Peters
Subject: [avr-libc-dev] [bug #30735] bug in example twitest
Date: Tue, 10 Aug 2010 18:50:12 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20100722 Firefox/3.6.8


                 Summary: bug in example twitest
                 Project: AVR C Runtime Library
            Submitted by: haraldp
            Submitted on: Di 10 Aug 2010 18:50:11 GMT
                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.8
           Fixed Release: None



There is a bug in function:
int ee24xx_write_page(uint16_t eeaddr, int len, uint8_t *buf)
if more than 1 byte are written 3 bytes before the end of a page, the
function writes one byte more than required
  if (eeaddr + len < (eeaddr | (PAGE_SIZE - 1)))
    endaddr = eeaddr + len;
  if (eeaddr + len <= (eeaddr | (PAGE_SIZE - 1)))
    endaddr = eeaddr + len;


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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