Skip to content

Building library with SIMPLEFOC_DISABLE_DEBUG defined results in compiler errors #79

@swilliams-rdg

Description

@swilliams-rdg

I ran into a similar issue with the FOC library which appears to have been fixed in the dev branch of that repo

There are several places in the driver library where either Serial or SimpleFOCDebug objects are used without checking the macro or if Serial is defined

Most of the errors are in SimpleFOCDrivers/src/settings/SettingsStorage.cpp but there's one in SimpleFOCDrivers/src/encoders/tle5012b/STM32TLE5012B.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions