sm8350-common: CameraProvider: set saner values

1500 is WAAAAY too high on haydn. Set max to a saner of 750.

Also prior to this change, 80 was default for torch, so set 80 as
default.
This commit is contained in:
John Galt 2025-02-07 11:51:45 -05:00 committed by DigiGoon
parent a391cb0839
commit 27f6f9056f

View file

@ -43,14 +43,14 @@ bool supportsSetTorchModeExt() {
} }
int32_t getTorchDefaultStrengthLevelExt() { int32_t getTorchDefaultStrengthLevelExt() {
return 50; return 80;
} }
int32_t getTorchMaxStrengthLevelExt() { int32_t getTorchMaxStrengthLevelExt() {
// In our device, both LEDs has same maximum value // In our device, both LEDs has same maximum value
// so get from one. // so get from one.
auto node = kTorchLedPath + "/" + TORCH_MAX_BRIGHTNESS; auto node = kTorchLedPath + "/" + TORCH_MAX_BRIGHTNESS;
return get(node, 0); return 750;
} }
int32_t getTorchStrengthLevelExt() { int32_t getTorchStrengthLevelExt() {