Commit c825b04
Mika Leppänen
Corrected covery warning on delay_us multiplication
Warning:
sign_extension: Suspicious implicit sign extension: fhss_structure->platform_functions.fhss_resolution_divider
with type uint8_t (8 bits, unsigned) is promoted in delay_us * fhss_structure->platform_functions.fhss_resolution_divider
to type long (32 bits, signed), then sign-extended to type long long (64 bits, signed).
If delay_us * fhss_structure->platform_functions.fhss_resolution_divider is greater than 0x7FFFFFFF, the upper bits
of the result will all be 1.1 parent be63bbb commit c825b04
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
0 commit comments