Skip to content

Is this an error?! #250

Closed
Closed
@edogaldo

Description

@edogaldo

nb_loop = (((HAL_RCC_GetHCLKFreq() / 1000000)/5)*delay_us)+1; /* uS (divide by 4 because each loop take about 4 cycles including nop +1 is here to avoid delay of 0 */

In the comment you say "divide by 4" but in the code you divide by 5, is it an error?!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions