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

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

[avr-libc-dev] [patch #8610] Remove eeprom function name mangling


From: Pitchumani
Subject: [avr-libc-dev] [patch #8610] Remove eeprom function name mangling
Date: Mon, 23 Feb 2015 12:02:15 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36

Follow-up Comment #1, patch #8610 (project avr-libc):

Some device headers do not define EEARL if the EEAR is one byte. But EEPROM
functions refers EEARL assuming it is defined even if the length is one byte.

Following will define EEARL if device header defines only EEAR, not
EEARL/EEARH.

(snip to be added to include/avr/eeprom.h)

#if defined (EEAR) && !defined (EEARL) && !defined (EEARH)
#define EEARL EEAR
#endif



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8610>

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




reply via email to

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