Skip to content

fix SIMPLEFOC_DISABLE_DEBUG, so that it works even without using the macro#544

Open
Moddingear wants to merge 1 commit into
simplefoc:devfrom
Moddingear:disable_debug_fix
Open

fix SIMPLEFOC_DISABLE_DEBUG, so that it works even without using the macro#544
Moddingear wants to merge 1 commit into
simplefoc:devfrom
Moddingear:disable_debug_fix

Conversation

@Moddingear

@Moddingear Moddingear commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Description

SIMPLEFOC_DISABLE_DEBUG doesn't work when using the drivers repository, because the class SimpleFOCDebug gets removed.

This uses inlining to remove the debug instead, so using the macro isn't necessary.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Compiled and run on target.

Test Configuration/Setup:

  • Hardware: Phoque2a
  • IDE: Platformio
  • MCU package version (stm32duino/arduino-esp32/..) : Not relevant

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.

1 participant