Skip to content

Commit 475ee9f

Browse files
committed
[YunSerialTerminal example]: corrected the CRC in the Bridge shutdown command
1 parent d2ef583 commit 475ee9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Bridge/examples/YunSerialTerminal/YunSerialTerminal.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void loop() {
6666
Serial1.begin(500000); // set speed to 500000
6767
Serial.println("Speed set to 500000");
6868
} else if (c == '~') {
69-
Serial1.write((uint8_t *)"\xff\0\0\x05XXXXX\x0d\xaf", 11);
69+
Serial1.write((uint8_t *)"\xff\0\0\x05XXXXX\x7f\xf9", 11);
7070
Serial.println("Sending bridge's shutdown command");
7171
} else { // any other key pressed?
7272
Serial1.write('~'); // write '~' to Linino

0 commit comments

Comments
 (0)