Skip to content

Commit 07f842e

Browse files
committed
FIX bluepill examples
1 parent eac2d14 commit 07f842e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

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
@@ -89,7 +89,7 @@ void setup() {
8989
command.add('T', doTarget, "target angle");
9090

9191
Serial.println(F("Motor ready."));
92-
Serial.println(F(("Set the target angle using serial terminal:"));
92+
Serial.println(F("Set the target angle using serial terminal:"));
9393
_delay(1000);
9494
}
9595

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ void setup() {
9191
_delay(1000);
9292
}
9393

94-
// angle set point variable
95-
float target_angle = 0;
96-
9794
void loop() {
9895

9996
// main FOC algorithm function

0 commit comments

Comments
 (0)