Skip to content

Commit 5897f56

Browse files
committed
port begin delay : 1000 -> 500 [ms]
1 parent faf5745 commit 5897f56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utility/port_handler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ void SerialPortHandler::begin(unsigned long baud)
3939
if(port_ == Serial1 && getOpenState() == false){
4040
pinMode(BDPIN_DXL_PWR_EN, OUTPUT);
4141
digitalWrite(BDPIN_DXL_PWR_EN, HIGH);
42-
delay(1000); // Wait for the FET to turn on.
42+
delay(500); // Wait for the FET to turn on.
4343
}
4444
#elif defined(ARDUINO_OpenCR)
4545
if(port_ == Serial3 && getOpenState() == false){
4646
pinMode(BDPIN_DXL_PWR_EN, OUTPUT);
4747
digitalWrite(BDPIN_DXL_PWR_EN, HIGH);
4848
}
49-
delay(1000); // Wait for the DYNAMIXEL to power up normally.
49+
delay(500); // Wait for the DYNAMIXEL to power up normally.
5050
#endif
5151

5252
baud_ = baud;

0 commit comments

Comments
 (0)