Hi Jaywant,

I don't know why pwm_init() blocks, but I noticed this:

On 10/22/19 11:15 AM, THOMBARE Jaywant wrote:
> #define PWM_FREQ (1000000U)

On 16bit platforms, unsigned holds values up to 65535, so this might not
result in the intended value.

Try defining with the LU prefix:

    #define PWM_FREQ (1000000LU)

Kaspar
_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to