Skip to content
Browse files

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 <>
  • Loading branch information...
henrikbrixandersen authored and nashif committed May 21, 2019
1 parent 9ab293b commit cfa32af7f090bff923a3f780009ab10c989633b0
Showing with 1 addition and 1 deletion.
  1. +1 −1 drivers/led/ht16k33.c
@@ -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;

0 comments on commit cfa32af

Please sign in to comment.
You can’t perform that action at this time.