diff options
author | Tomi Valkeinen <tomi.valkeinen@iki.fi> | 2020-10-07 16:18:11 +0300 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-10-07 14:46:38 +0100 |
commit | 5fbda0dfda8dbf85022356e117fff47b184461f6 (patch) | |
tree | fed3c1beed2d223bc213b8f8eb798c2cba7b8d88 /src/ipa/raspberrypi/controller/rpi/lux.hpp | |
parent | 5f1f3092a1bedaec36fa98f9c6476fb48f70f931 (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/lux.hpp')
0 files changed, 0 insertions, 0 deletions