Skip to content

Commit

Permalink
drivers: led: ht16k33: add missing variable initialization
Browse files Browse the repository at this point in the history
Add missing initialization of a variable in the HT16K33 LED driver.

Fixes #16164.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
  • Loading branch information
henrikbrixandersen authored and nashif committed May 22, 2019
1 parent 9ab293b commit cfa32af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/led/ht16k33.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cfa32af

Please sign in to comment.