mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Fixed comment
This commit is contained in:
parent
09f19de0d3
commit
01c909c2cc
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ void loop() {
|
|||
firstMessage = true;
|
||||
|
||||
if(PS3.PS3Connected || PS3.PS3NavigationConnected) {
|
||||
output = ""; // Reset analog output string
|
||||
output = ""; // Reset output string
|
||||
if(PS3.getAnalogHat(LeftHatX) > 137 || PS3.getAnalogHat(LeftHatX) < 117 || PS3.getAnalogHat(LeftHatY) > 137 || PS3.getAnalogHat(LeftHatY) < 117 || PS3.getAnalogHat(RightHatX) > 137 || PS3.getAnalogHat(RightHatX) < 117 || PS3.getAnalogHat(RightHatY) > 137 || PS3.getAnalogHat(RightHatY) < 117) {
|
||||
output += "LeftHatX: ";
|
||||
output += PS3.getAnalogHat(LeftHatX);
|
||||
|
@ -73,7 +73,7 @@ void loop() {
|
|||
Serial.println(output);
|
||||
if(SerialBT.connected)
|
||||
SerialBT.println(output);
|
||||
output = "";
|
||||
output = ""; // Reset output string
|
||||
}
|
||||
if(PS3.getButtonClick(PS)) {
|
||||
output += " - PS";
|
||||
|
|
Loading…
Reference in a new issue