[tools] gen_messages_doc.py: use messages.xml from pprzlink by default

and var/messages.xml for things when it's actually built
This commit is contained in:
Felix Ruess
2016-01-14 22:50:47 +01:00
parent 50dcf96003
commit 1bdc2087c7
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ void decode_and_send_to_ivy() {
if (want_alive_msg)
IvySendMsg("%d ALIVE 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n", ac_id);
// format has to match declaration in conf/messages.xml
// format has to match declaration in var/messages.xml
IvySendMsg("%d WEATHER %f %f %f %f %f\n",
ac_id, pstatic_Pa, temp_degC, windspeed_mps, winddir_deg, rel_humidity);
}
+1 -1
View File
@@ -362,7 +362,7 @@ void decode_and_send_to_ivy() {
rel_humidity = values[RH];
}
// format has to match declaration in conf/messages.xml
// format has to match declaration in var/messages.xml
IvySendMsg("%d WEATHER %f %f %f %f %f\n",
ac_id, pstatic_Pa, temp_degC, windspeed_mps, winddir_deg, rel_humidity);
}