testing/sensortest: Fix the typo for ecg sensor

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-02-02 23:01:07 +08:00 committed by Alan Carvalho de Assis
parent bf140bcaae
commit fea1b197d4

View File

@ -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);
}