Skip to content

Commit 1d2fad0

Browse files
Update libraries/BluetoothSerial/examples/SerialToSerialBT_SSP/SerialToSerialBT_SSP.ino
Co-authored-by: Lucas Saavedra Vaz <lucassvaz@yahoo.com.br>
1 parent bc15b5f commit 1d2fad0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libraries/BluetoothSerial/examples/SerialToSerialBT_SSP/SerialToSerialBT_SSP.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ void BTAuthCompleteCallback(boolean success){
9797

9898
void serial_response(){
9999
if (Serial.available()){
100-
SerialBT.write(Serial.read());
101-
}
102-
if (SerialBT.available()){
103-
Serial.write(SerialBT.read());
104-
}
105-
delay(20);
100+
SerialBT.write(Serial.read());
101+
}
102+
if (SerialBT.available()){
103+
Serial.write(SerialBT.read());
104+
}
105+
delay(20);
106106
}
107107

108108
void setup(){

0 commit comments

Comments
 (0)