all: Add 'U' suffix when using unsigned variables
Add a 'U' suffix to values when computing and comparing against unsigned variables. Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
parent
caebf204c6
commit
24d71431e9
559 changed files with 2331 additions and 2328 deletions
|
@ -175,9 +175,9 @@ u32_t fxas21002_get_transition_time(enum fxas21002_power start,
|
|||
transition_time = sample_period[dr];
|
||||
|
||||
if (start == FXAS21002_POWER_READY) {
|
||||
transition_time += 5000;
|
||||
transition_time += 5000U;
|
||||
} else {
|
||||
transition_time += 60000;
|
||||
transition_time += 60000U;
|
||||
}
|
||||
|
||||
return transition_time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue