EEMEM definition moved to globals.

This commit is contained in:
Kai Lauterbach 2011-12-27 11:47:26 +01:00
parent 39960a20c6
commit 0fcba5516f
2 changed files with 1 additions and 5 deletions

View file

@ -25,7 +25,7 @@ usbMsgLen_t usbFunctionSetup(uchar data[8])
// because of the code size we have to transfer one frame in // because of the code size we have to transfer one frame in
// two steps (control messages) // two steps (control messages)
if ( rq->wIndex.bytes[0] == 0 ) if ( ! rq->wIndex.bytes[0] )
{ {
// the lower word // the lower word
frame = (frame & (uint32_t)0xffff0000) | frame = (frame & (uint32_t)0xffff0000) |

View file

@ -15,10 +15,6 @@
#include <avr/eeprom.h> #include <avr/eeprom.h>
#ifndef EEMEM
#define EEMEM __attribute__ ((section (".eeprom")))
#endif
#include "globals.h" #include "globals.h"
#include "usbconfig.h" #include "usbconfig.h"