fix iso eeprom saving

This commit is contained in:
interfisch 2018-05-03 16:00:40 +02:00
parent fdb066cfb9
commit 3cc8457f07
1 changed files with 4 additions and 4 deletions

View File

@ -160,13 +160,13 @@ float setISO=100; //set to ISO
float eeprom_setAperature=0; //set to use aperature. 0 for auto
float eeprom_setShutter=0; //set to use shutter time, 0 for auto
uint16_t eeprom_setISO=0; //set to ISO
float eeprom_setISO=0; //set to ISO
#define EEPROMADDRESS_APERATURE 0x801F000 //float = 32bit = 4byte
#define EEPROMADDRESS_SHUTTER 0x801F004 //float = 32bit = 4byte
#define EEPROMADDRESS_ISO 0x801F008 //uint16_T 16bit = 2byte
#define EEPROMADDRESS_METERINGMODE 0x801F00A //uint8_t 1byte
#define EEPROMADDRESS_USERSETTINGS 0x801F00B //Settings struct
#define EEPROMADDRESS_ISO 0x801F008 //float 32bit = 4byte
#define EEPROMADDRESS_METERINGMODE 0x801F00C //uint8_t 1byte
#define EEPROMADDRESS_USERSETTINGS 0x801F00D //Settings struct
enum displaymode {
lightmeter,