Skip to content

Commit 5a0c4ef

Browse files
committed
enable debug macro
1 parent 8fb08d2 commit 5a0c4ef

62 files changed

Lines changed: 62 additions & 62 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/hardware_specific_examples/B_G431B_ESC1/B_G431B_ESC1.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void setup() {
3030
Serial.begin(115200);
3131
// enable more verbose output for debugging
3232
// comment out if not needed
33-
SimpleFOCDebug::enable(&Serial);
33+
SIMPLEFOC_DEBUG_ENABLE(&Serial);
3434

3535
// initialize encoder sensor hardware
3636
encoder.init();

examples/hardware_specific_examples/Bluepill_examples/encoder/bluepill_position_control/bluepill_position_control.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void setup() {
3737
Serial.begin(115200);
3838
// enable more verbose output for debugging
3939
// comment out if not needed
40-
SimpleFOCDebug::enable(&Serial);
40+
SIMPLEFOC_DEBUG_ENABLE(&Serial);
4141

4242
// initialize encoder sensor hardware
4343
encoder.init();

examples/hardware_specific_examples/Bluepill_examples/magnetic_sensor/bluepill_position_control/bluepill_position_control.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void setup() {
4040
Serial.begin(115200);
4141
// enable more verbose output for debugging
4242
// comment out if not needed
43-
SimpleFOCDebug::enable(&Serial);
43+
SIMPLEFOC_DEBUG_ENABLE(&Serial);
4444

4545
// initialise magnetic sensor hardware
4646
sensor.init();

examples/hardware_specific_examples/DRV8302_driver/3pwm_example/encoder/full_control_serial/full_control_serial.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void setup() {
4747
Serial.begin(115200);
4848
// enable more verbose output for debugging
4949
// comment out if not needed
50-
SimpleFOCDebug::enable(&Serial);
50+
SIMPLEFOC_DEBUG_ENABLE(&Serial);
5151

5252
// initialize encoder sensor hardware
5353
encoder.init();

examples/hardware_specific_examples/DRV8302_driver/6pwm_example/encoder/full_control_serial/full_control_serial.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void setup() {
5050
Serial.begin(115200);
5151
// enable more verbose output for debugging
5252
// comment out if not needed
53-
SimpleFOCDebug::enable(&Serial);
53+
SIMPLEFOC_DEBUG_ENABLE(&Serial);
5454

5555
// initialize encoder sensor hardware
5656
encoder.init();

examples/hardware_specific_examples/DRV8302_driver/esp32_current_control_low_side/esp32_current_control_low_side.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void setup() {
5555
Serial.begin(115200);
5656
// enable more verbose output for debugging
5757
// comment out if not needed
58-
SimpleFOCDebug::enable(&Serial);
58+
SIMPLEFOC_DEBUG_ENABLE(&Serial);
5959

6060
// initialize encoder sensor hardware
6161
encoder.init();

examples/hardware_specific_examples/DRV8302_driver/stm32_current_control_low_side/stm32_current_control_low_side.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void setup() {
5555
Serial.begin(115200);
5656
// enable more verbose output for debugging
5757
// comment out if not needed
58-
SimpleFOCDebug::enable(&Serial);
58+
SIMPLEFOC_DEBUG_ENABLE(&Serial);
5959

6060
// initialize encoder sensor hardware
6161
encoder.init();

examples/hardware_specific_examples/DRV8302_driver/teensy4_current_control_low_side/teensy4_current_control_low_side.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void setup() {
5858
Serial.begin(115200);
5959
// enable more verbose output for debugging
6060
// comment out if not needed
61-
SimpleFOCDebug::enable(&Serial);
61+
SIMPLEFOC_DEBUG_ENABLE(&Serial);
6262

6363
// initialize encoder sensor hardware
6464
encoder.init();

examples/hardware_specific_examples/ESP32/encoder/esp32_position_control/esp32_position_control.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void setup() {
2828
Serial.begin(115200);
2929
// enable more verbose output for debugging
3030
// comment out if not needed
31-
SimpleFOCDebug::enable(&Serial);
31+
SIMPLEFOC_DEBUG_ENABLE(&Serial);
3232

3333
// initialize encoder sensor hardware
3434
encoder.init();

examples/hardware_specific_examples/ESP32/magnetic_sensor/esp32_position_control/esp32_position_control.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void setup() {
3737
Serial.begin(115200);
3838
// enable more verbose output for debugging
3939
// comment out if not needed
40-
SimpleFOCDebug::enable(&Serial);
40+
SIMPLEFOC_DEBUG_ENABLE(&Serial);
4141

4242
// initialise magnetic sensor hardware
4343
sensor.init();

0 commit comments

Comments
 (0)