mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-28 04:40:47 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue