drivers: led: ht16k33: add missing variable initialization
Add missing initialization of a variable in the HT16K33 LED driver. Fixes #16164. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
9ab293b919
commit
cfa32af7f0
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ static bool ht16k33_process_keyscan_data(struct device *dev)
|
|||
const struct ht16k33_cfg *config = dev->config->config_info;
|
||||
struct ht16k33_data *data = dev->driver_data;
|
||||
u8_t keys[HT16K33_KEYSCAN_DATA_SIZE];
|
||||
bool pressed;
|
||||
bool pressed = false;
|
||||
u16_t row;
|
||||
u16_t new;
|
||||
int err;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue