mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 11:32:21 +08:00
C3: increase brightness at night a little
old-commit-hash: 01e779ef2d9da40ea0675466054e4f4eb22eb2dd
This commit is contained in:
+1
-2
@@ -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