EEMEM definition moved to globals.
This commit is contained in:
parent
39960a20c6
commit
0fcba5516f
2 changed files with 1 additions and 5 deletions
|
@ -25,7 +25,7 @@ usbMsgLen_t usbFunctionSetup(uchar data[8])
|
|||
|
||||
// because of the code size we have to transfer one frame in
|
||||
// two steps (control messages)
|
||||
if ( rq->wIndex.bytes[0] == 0 )
|
||||
if ( ! rq->wIndex.bytes[0] )
|
||||
{
|
||||
// the lower word
|
||||
frame = (frame & (uint32_t)0xffff0000) |
|
||||
|
|
|
@ -15,10 +15,6 @@
|
|||
|
||||
#include <avr/eeprom.h>
|
||||
|
||||
#ifndef EEMEM
|
||||
#define EEMEM __attribute__ ((section (".eeprom")))
|
||||
#endif
|
||||
|
||||
#include "globals.h"
|
||||
|
||||
#include "usbconfig.h"
|
||||
|
|
Loading…
Reference in a new issue