testing/sensortest: Fix the typo for ecg sensor
@@ -163,7 +163,7 @@ static void print_valf3(const char *buffer, const char *name)
static void print_ecg(const char *buffer, const char *name)
{
- struct sensor_event_ecg *event = (struct sensor_event_ecg *)buffer;
+ struct sensor_ecg *event = (struct sensor_ecg *)buffer;
printf("%s: timestamp:%" PRIu64 " ecg:%.4f status:%lx", name,
event->timestamp, event->ecg, event->status);
}
