mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-20 01:13:56 +08:00
C3: increase brightness at night a little
This commit is contained in:
@@ -188,9 +188,8 @@ static void update_state(UIState *s) {
|
||||
float max_gain = Hardware::EON() ? 1.0: 10.0;
|
||||
float max_ev = max_lines * max_gain;
|
||||
|
||||
// C3 camera only uses about 10% of available gain at night
|
||||
if (Hardware::TICI) {
|
||||
max_ev /= 10;
|
||||
max_ev /= 6;
|
||||
}
|
||||
|
||||
float ev = camera_state.getGain() * float(camera_state.getIntegLines());
|
||||
|
||||
Reference in New Issue
Block a user