testing/sensortest: Fix the typo for ecg sensor
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
bf140bcaae
commit
fea1b197d4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user