| 315 | } |
| 316 | |
| 317 | void AnalogSignal::set_zero_ratio(double ratio) |
| 318 | { |
| 319 | if (_view->session().is_running_status()) |
| 320 | return; |
| 321 | |
| 322 | _zero_offset = ratio2value(ratio); |
| 323 | session->get_device()->set_config_uint16(SR_CONF_PROBE_OFFSET, |
| 324 | _zero_offset, _probe, NULL); |
| 325 | } |
| 326 | |
| 327 | double AnalogSignal::get_zero_ratio() |
| 328 | { |
nothing calls this directly
no test coverage detected