Skip to content

Commit

Permalink
default _connectedToKSP2 to false
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetopia committed Jan 7, 2024
1 parent e37d65d commit 13377fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KerbalSimpit.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class KerbalSimpit
byte _msgBuffer[MAX_PAYLOAD_SIZE + 2]; // used to build the message before sending it (adding type, checksum)
byte _encodedBuffer[MAX_PAYLOAD_SIZE + 4]; // used to encode message before sending it
Stream *_serial;
bool _connectedToKSP2; // used to store wether the controller is connected to KSP1 or KSP2s
bool _connectedToKSP2 = false; // used to store wether the controller is connected to KSP1 or KSP2s

byte _receivedIndex;

Expand Down

0 comments on commit 13377fb

Please sign in to comment.