Closed GoogleCodeExporter closed 8 years ago
drivers.cpp in both trunk and branches/freesky in function eeprom_write_byte_cmp ... {{{ ///opt/cross/avr/include/avr/eeprom.h static inline void __attribute__ ((always_inline)) eeprom_write_byte_cmp (uint8_t dat, uint16_t pointer_eeprom) { //see /home/thus/work/avr/avrsdk4/avr-libc-1.4.4/libc/misc/eeprom.S:98 143 while(EECR & (1<<EEWE)) /* make sure EEPROM is ready */ ; EEAR = pointer_eeprom; EECR |= 1<<EERE; if(dat == EEDR) return; EEDR = dat; uint8_t flags=SREG; cli(); EECR |= 1<<EEMWE; EECR |= 1<<EEWE; SREG = flags; // sei(); // !!! <<--- } }}}
Original issue reported on code.google.com by gru...@gmail.com on 4 Mar 2011 at 1:46
gru...@gmail.com
Original comment by gru...@gmail.com on 28 Jun 2011 at 6:15
Original comment by gru...@gmail.com on 23 Sep 2011 at 1:53
Original issue reported on code.google.com by
gru...@gmail.com
on 4 Mar 2011 at 1:46