Skip to content

Commit

Permalink
samples: button: fix variable type mismatching issue
Browse files Browse the repository at this point in the history
The variable type mismatching was caught by LLVM.

Jira: ZEP-1179

Change-Id: I084406601badc64c257cbdd82b9c8b7509549303
Signed-off-by: Baohong Liu <[email protected]>
  • Loading branch information
bliu11-intel authored and Anas Nashif committed Nov 16, 2016
1 parent d6ba1c0 commit 36b398f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/basic/button/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void main(void)
gpio_pin_enable_callback(gpiob, PIN);

while (1) {
int val = 0;
uint32_t val = 0;

gpio_pin_read(gpiob, PIN, &val);
k_sleep(SLEEP_TIME);
Expand Down

0 comments on commit 36b398f

Please sign in to comment.