changed gotthard dynamic gain value and fixed bug of writing settings enum with more offset to not mixup with conf gain value in firmware

This commit is contained in:
Dhanya Maliakal 2015-10-23 10:57:45 +02:00
parent 8ffdcb08c9
commit 0ea9cc34b0
3 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@
#define RGSH2VALS {260,300,260} #define RGSH2VALS {260,300,260}
// high,dynamic,low,medium,very high // high,dynamic,low,medium,very high
#define CONF_GAIN {0,0, 0, 1, 6, 2, 1}//dynamic gain confgain yet to be figured out-probably 8 or 16 #define CONF_GAIN {0,0, 0, 8, 6, 2, 1}//dynamic gain confgain yet to be figured out-probably 8 or 16
#define DEFAULTGAIN {11.66,9.32,14.99} #define DEFAULTGAIN {11.66,9.32,14.99}

View File

@ -291,7 +291,7 @@
#define GAIN_MASK 0x0000000f #define GAIN_MASK 0x0000000f
#define GAIN_OFFSET 0 #define GAIN_OFFSET 0
#define SETTINGS_MASK 0x000000f0 #define SETTINGS_MASK 0x000000f0
#define SETTINGS_OFFSET 4 #define SETTINGS_OFFSET 8
/* CHIP_OF_INTRST_REG */ /* CHIP_OF_INTRST_REG */