fix print for px4

This commit is contained in:
Thomas Gubler
2014-11-28 11:37:30 +01:00
parent 244c1cb583
commit b351d67175
2 changed files with 3 additions and 3 deletions
+1 -2
View File
@@ -80,7 +80,7 @@ PX4_MAIN_FUNCTION(publisher)
PX4_TOPIC_T(rc_channels) msg;
msg.timestamp_last_valid = px4::get_time_micros();
PX4_INFO("%lu", msg.timestamp_last_valid);
PX4_INFO("%llu", msg.timestamp_last_valid);
/**
* The publish() function is how you send messages. The parameter
@@ -96,6 +96,5 @@ PX4_MAIN_FUNCTION(publisher)
++count;
}
return 0;
}