Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Changed type of LEDC frequency from double to uint32_t#6570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@P-R-O-C-H-Y
Copy link
Member

Summary

Changed type of LEDC frequency from double to uint32_t because that the default type of frequency in ESP-IDF.
There is not support fro decimal numbers in LEDC in ESP-IDF.

Impact

None.

Related links

Closes#6550

@P-R-O-C-H-YP-R-O-C-H-Y added the Area: Peripherals APIRelates to peripheral's APIs. labelApr 12, 2022
@P-R-O-C-H-YP-R-O-C-H-Y added this to the2.0.3 milestoneApr 12, 2022
@P-R-O-C-H-YP-R-O-C-H-Y self-assigned thisApr 12, 2022
@github-actions
Copy link
Contributor

Unit Test Results

0 files  0 suites   0s⏱️
0 tests 0✔️ 0💤 0

Results for commit5a51585.

@mrengineer7777
Copy link
Collaborator

Makes sense to me. Floating point on embedded systems can be a real performance killer, unless the processor has a built in FPU.

@me-no-devme-no-dev merged commite1c9606 intoespressif:masterApr 21, 2022
Jason2866 added a commit to tasmota/arduino-esp32 that referenced this pull requestApr 21, 2022
* Delete stale.yml* IDF release/v4.4 b8050b365e (espressif#6594)* Update camera example to support face detection and recognition (espressif#6603)Fixes:espressif#6508* Change pinMode OUTPUT to INPUT_OUTPUT (espressif#6602)* Change OUTPUT to INPUT_OUTPUTTo match the official Arduino API.* Changed type of LEDC frequency from double to uint32_t (espressif#6570)* BUGFIX: FS read + speed improvements for SD (espressif#6569)* Revert "Edited VFSFileImpl::read to use both read/fread (espressif#6456)"This reverts commit7b89b39.* Added default file buffer size + function to change it by user* workflows/publish.yml: Run the workflow on success and failure only. (espressif#6531)* workflows/publish.yml: Run the workflow on success and failure only.This prevents trying to run when the trigger was cancelled or skipped.In these cases there will be no event file to upload.Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>* scripts/sketch_utils.sh: Move the logic that gets the build dir afterthe part that retrieves the arguments.Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>* workflows/hil.yml: Update the HIL runners tags.Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>* workflows/hil.yml: Remove the Check Artifacts step.  That was onlyuseful for debugging.Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>* Pull request/Issue Templates and Readme update (espressif#6577)* Templates and readme* Templates_and_readme* Delete libraries/RainMaker directory* Delete tools/sdk/esp32/include/esp_rainmaker directory* Delete tools/sdk/esp32s2/include/esp_rainmaker directory* Delete tools/sdk/esp32s3/include/esp_rainmaker directory* Delete tools/sdk/esp32c3/include/esp_rainmaker directoryCo-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>Co-authored-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>Co-authored-by: Vojtěch Bartoška <76958047+VojtechBartoska@users.noreply.github.com>
Jason2866 added a commit to tasmota/arduino-esp32 that referenced this pull requestApr 24, 2022
* Delete stale.yml* IDF release/v4.4 b8050b365e (espressif#6594)* Update camera example to support face detection and recognition (espressif#6603)Fixes:espressif#6508* Change pinMode OUTPUT to INPUT_OUTPUT (espressif#6602)* Change OUTPUT to INPUT_OUTPUTTo match the official Arduino API.* Changed type of LEDC frequency from double to uint32_t (espressif#6570)* BUGFIX: FS read + speed improvements for SD (espressif#6569)* Revert "Edited VFSFileImpl::read to use both read/fread (espressif#6456)"This reverts commit7b89b39.* Added default file buffer size + function to change it by user* workflows/publish.yml: Run the workflow on success and failure only. (espressif#6531)* workflows/publish.yml: Run the workflow on success and failure only.This prevents trying to run when the trigger was cancelled or skipped.In these cases there will be no event file to upload.Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>* scripts/sketch_utils.sh: Move the logic that gets the build dir afterthe part that retrieves the arguments.Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>* workflows/hil.yml: Update the HIL runners tags.Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>* workflows/hil.yml: Remove the Check Artifacts step.  That was onlyuseful for debugging.Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>* Pull request/Issue Templates and Readme update (espressif#6577)Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>Co-authored-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>Co-authored-by: Vojtěch Bartoška <76958047+VojtechBartoska@users.noreply.github.com>
TheNitek added a commit to TheNitek/arduino-esp32 that referenced this pull requestDec 21, 2022
me-no-dev pushed a commit that referenced this pull requestDec 21, 2022
* Update ledc.rstAPI has changed with#6570* Update ledc.rstFix whitespaceCo-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
@P-R-O-C-H-YP-R-O-C-H-Y deleted the LEDC-API-freq-type-change branchApril 19, 2023 11:31
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

@P-R-O-C-H-YP-R-O-C-H-Y

Labels

Area: Peripherals APIRelates to peripheral's APIs.

Projects

Milestone

2.0.3

Development

Successfully merging this pull request may close these issues.

LEDC - ERROR when setting FREQUENCY to less than 1 Hz ---> IntegerDivideByZero

3 participants

@P-R-O-C-H-Y@mrengineer7777@me-no-dev

[8]ページ先頭

©2009-2025 Movatter.jp