summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/rpi/focus.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@iki.fi>2020-10-07 16:18:11 +0300
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-10-07 14:46:38 +0100
commit5fbda0dfda8dbf85022356e117fff47b184461f6 (patch)
treefed3c1beed2d223bc213b8f8eb798c2cba7b8d88 /src/ipa/raspberrypi/controller/rpi/focus.cpp
parent5f1f3092a1bedaec36fa98f9c6476fb48f70f931 (diff)
ipa: raspberrypi: fix access to uninitialized variables
Set span_r and span_b to -1 so that when they are passed to Pwl::Eval() they won't cause access to uninitialized memory. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/controller/rpi/focus.cpp')
0 files changed, 0 insertions, 0 deletions