File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/pwm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -375,10 +375,10 @@ static void pwm_transition_n_to_m(app_pwm_t const * const p_instance,
375
375
376
376
#ifdef NRF52
377
377
if (ticks + ((nrf_timer_frequency_get (p_instance -> p_timer -> p_reg ) ==
378
- (m_use_ppi_delay_workaround ? NRF_TIMER_FREQ_8MHz : NRF_TIMER_FREQ_16MHz ) ) ? 1 : 0 )
378
+ (m_use_ppi_delay_workaround ? NRF_TIMER_FREQ_8MHz : NRF_TIMER_FREQ_16MHz ) ) ? 1U : 0U )
379
379
< p_ch_cb -> pulsewidth )
380
380
#else
381
- if (ticks + ((nrf_timer_frequency_get (p_instance -> p_timer -> p_reg ) == NRF_TIMER_FREQ_16MHz ) ? 1 : 0 )
381
+ if (ticks + ((nrf_timer_frequency_get (p_instance -> p_timer -> p_reg ) == NRF_TIMER_FREQ_16MHz ) ? 1U : 0U )
382
382
< p_ch_cb -> pulsewidth )
383
383
#endif
384
384
{
You can’t perform that action at this time.
0 commit comments