mirror of https://github.com/ArduPilot/ardupilot
simplified protocol
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1620 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
365980ebf9
commit
b8bb12a6d7
|
@ -82,7 +82,7 @@ void flush(byte id)
|
||||||
SendSer("4D"); // This is the message preamble
|
SendSer("4D"); // This is the message preamble
|
||||||
SendSerw(buff_pointer); // Length
|
SendSerw(buff_pointer); // Length
|
||||||
SendSerw(2); // id
|
SendSerw(2); // id
|
||||||
SendSerw(0x01); // Version
|
//SendSerw(0x01); // Version
|
||||||
|
|
||||||
for (i = 0; i < buff_pointer; i++) {
|
for (i = 0; i < buff_pointer; i++) {
|
||||||
SendSerw(mess_buffer[i]);
|
SendSerw(mess_buffer[i]);
|
||||||
|
|
Loading…
Reference in New Issue