Skip to content

Conversation

@petermm
Copy link
Contributor

@petermm petermm commented Oct 3, 2025

On boards with no high speed mode, the low_speed_mode is (enum) 0.

All boards except for esp32 only has one mode, so the convenience function 0/1 is wrong for all other boards than esp32.

Fixes #1816

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

On boards with no high speed mode, the low_speed_mode is (enum) 0.

All boards except for esp32 only has one mode, so the convenience function 0/1 is wrong for all other boards than esp32.

Fixes atomvm#1816

Signed-off-by: Peter M <petermm@gmail.com>
@bettio bettio merged commit 73d62b7 into atomvm:release-0.6 Oct 15, 2025
112 of 114 checks passed
@petermm petermm deleted the fix-ledc.ex branch October 15, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants