Skip to content

Fix hardcoded cycles_per_us to use sdkconfig#318

Open
SukuWc wants to merge 1 commit intomasterfrom
SUKU-fix-cycles-per-us
Open

Fix hardcoded cycles_per_us to use sdkconfig#318
SukuWc wants to merge 1 commit intomasterfrom
SUKU-fix-cycles-per-us

Conversation

@SukuWc
Copy link
Member

@SukuWc SukuWc commented Feb 11, 2026

Summary

  • Replace hardcoded 240 in grid_platform_get_cycles_per_us() with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ from sdkconfig
  • The actual CPU frequency is 160 MHz, so the previous value was incorrect

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant