IFE: fix bls offset scaling (#33905)

14u

Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
ZwX1616
2024-10-31 16:00:09 -07:00
committed by GitHub
parent c979282cfa
commit 7899b9964c
+1 -1
View File
@@ -67,7 +67,7 @@ int build_update(uint8_t *dst, const SensorInfo *s, std::vector<uint32_t> &patch
// black level scale + offset
dst += write_cont(dst, 0x6b0, {
((uint32_t)(1 << 11) << 0xf) | (s->black_level << 0),
((uint32_t)(1 << 11) << 0xf) | (s->black_level << (14 - s->bits_per_pixel)),
0x0,
0x0,
});