Skip to content

Commit 6a4ec77

Browse files
committed
flush serial on alvik begin
1 parent 245cf6a commit 6a4ec77

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/Arduino_AlvikCarrier.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ int Arduino_AlvikCarrier::begin(){
8787
beginLeds();
8888

8989
serial->begin(UART_BAUD);
90+
serial->flush();
9091

9192
// setup alternate functions
9293
AF_Tim2_pwm();

src/robotics/kinematics.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ class Kinematics{
174174
delta_left=0.0;
175175
delta_right=0.0;
176176
delta_travel=0.0;
177-
178177
}
179178

180179
void resetTravel(){

0 commit comments

Comments
 (0)