Skip to content
Commit cc2411f6 authored by Gerard Marull-Paretas's avatar Gerard Marull-Paretas Committed by Carles Cufí
Browse files

drivers: pwm: use UINT32_MAX for overflow checks



Some values are limited to 32-bit, UINT32_MAX can be used to check if
they overflow.

Signed-off-by: default avatarGerard Marull-Paretas <gerard.marull@nordicsemi.no>
parent ab71d26a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment