fix: sensor: new member into ECG sensor type
ECG sensors usually output some status info besides ECG data, such as lead and fast-recovery status. Thus a new member "status" is added into sensor_ecg struct. Signed-off-by: liucheng5 <liucheng5@xiaomi.com>
This commit is contained in:
parent
b7febf4e19
commit
abf5ea24b4
1 changed files with 1 additions and 0 deletions
|
|
@ -506,6 +506,7 @@ struct sensor_ecg /* Type: ECG */
|
|||
{
|
||||
uint64_t timestamp; /* Unit is microseconds */
|
||||
float ecg; /* Unit is μV */
|
||||
uint32_t status; /* Status info */
|
||||
};
|
||||
|
||||
struct sensor_ppgd /* Type: PPGD */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue