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:
parent
a391cb0839
commit
27f6f9056f
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue