EEPROM async write bug solved. Progress bar. Popup on MODELSEL. Simu EEPROM async write.
This commit is contained in:
+7
-1
@@ -22,6 +22,10 @@
|
||||
#include <assert.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <pthread.h>
|
||||
#include <semaphore.h>
|
||||
|
||||
#define APM
|
||||
|
||||
typedef unsigned char prog_uchar;
|
||||
typedef const char prog_char;
|
||||
@@ -30,7 +34,7 @@ typedef const uint8_t prog_uint8_t;
|
||||
typedef const int16_t prog_int16_t;
|
||||
typedef const int8_t prog_int8_t;
|
||||
|
||||
|
||||
extern sem_t eeprom_write_sem;
|
||||
|
||||
#define PROGMEM
|
||||
#define pgm_read_byte(address_short) (*(uint8_t*)(address_short))
|
||||
@@ -76,6 +80,8 @@ typedef const int8_t prog_int8_t;
|
||||
extern volatile unsigned char pinb,pinc,pind,pine,ping;
|
||||
extern unsigned char portb,dummyport;
|
||||
|
||||
void InitEepromThread();
|
||||
|
||||
extern const char *eepromFile;
|
||||
void eeprom_read_block (void *pointer_ram,
|
||||
const void *pointer_eeprom,
|
||||
|
||||
Reference in New Issue
Block a user