pbio/servo: log zero if data not used
make data easier to read in plots
#include <inttypes.h>
#include <stdlib.h>
+#include <string.h>
#include <contiki.h>
@@ -250,6 +251,7 @@ static pbio_error_t pbio_servo_actuate(pbio_servo_t *srv, pbio_actuation_t actua
static pbio_error_t pbio_servo_log_update(pbio_servo_t *srv, int32_t time_now, int32_t count_now, int32_t rate_now, pbio_actuation_t actuation, int32_t control) {
int32_t buf[SERVO_LOG_NUM_VALUES];
+ memset(buf, 0, sizeof(buf));
// Log the physical state of the motor
buf[1] = count_now;
