samples: fix signed overflow in blinky example
Overflow for int is undefined in C, change to u32_t where it is defined. Signed-off-by: Christoph Reiter <christoph.reiter@infineon.com>
This commit is contained in:
parent
c05a931bce
commit
41f54f39c9
1 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
void main(void)
|
||||
{
|
||||
int cnt = 0;
|
||||
u32_t cnt = 0;
|
||||
struct device *dev;
|
||||
|
||||
dev = device_get_binding(LED_PORT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue