5 more files removed
This commit is contained in:
@@ -34,11 +34,16 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef eeprom_avr_h
|
||||
#define eeprom_avr_h
|
||||
#ifndef eeprom_rlc_h
|
||||
#define eeprom_rlc_h
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
// TODO duplicated
|
||||
#ifndef PACK
|
||||
#define PACK( __Declaration__ ) __Declaration__ __attribute__((__packed__))
|
||||
#endif
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
#define blkid_t uint16_t
|
||||
#if !defined(EESIZE)
|
||||
@@ -67,7 +72,7 @@
|
||||
#define BS 16
|
||||
#endif
|
||||
|
||||
PACK(struct DirEnt{
|
||||
PACK(struct DirEnt {
|
||||
blkid_t startBlk;
|
||||
uint16_t size:12;
|
||||
uint16_t typ:4;
|
||||
@@ -79,7 +84,7 @@ PACK(struct DirEnt{
|
||||
#define EEFS_EXTRA_FIELDS
|
||||
#endif
|
||||
|
||||
PACK(struct EeFs{
|
||||
PACK(struct EeFs {
|
||||
uint8_t version;
|
||||
blkid_t mySize;
|
||||
blkid_t freeList;
|
||||
|
||||
Reference in New Issue
Block a user