Searched refs:data_from_sensor (Results 1 – 1 of 1) sorted by relevance
85 int data_from_sensor; in do_sample() local91 data_from_sensor = pulsensor->pin_ctx.read (); in do_sample()97 if (data_from_sensor < pulsensor->threshold && in do_sample()99 if (data_from_sensor < pulsensor->trough) { in do_sample()100 pulsensor->trough = data_from_sensor; in do_sample()104 if (data_from_sensor > pulsensor->threshold && in do_sample()105 data_from_sensor > pulsensor->peak) { in do_sample()106 pulsensor->peak = data_from_sensor; in do_sample()111 if ( (data_from_sensor > pulsensor->threshold) && in do_sample()154 if (data_from_sensor < pulsensor->threshold && in do_sample()