Skip to content

PR 204 (PWM with float parameters) confuses the compiler #273

Open
@facchinm

Description

@facchinm

#204 introduced an error in https://github.com/pschatzmann/arduino-audio-tools/blob/c88d3b9f132555ab7cd932a53744fa6c42aa8e0f/src/AudioPWM/PWMAudioRenesas.h#L90 (due to type confusion between int and float).

Proposed fix: change the signature of begin(uint32_t, uint32_t, ...) to begin(int, int, ...)

Metadata

Metadata

Assignees

Labels

topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions