Skip to content

Commit ea64f98

Browse files
authored
Merge pull request #121 from honghyun79/hotfix-port_begin_delay
Hotfix port begin delay
2 parents e063bb9 + 5897f56 commit ea64f98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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(300); // 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(300); // 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)