| line |
true |
false |
branch |
|
68
|
0 |
0 |
$pi->board_type == 1 ? : |
|
84
|
0 |
0 |
if ($params{'clock'}) |
|
98
|
0 |
0 |
if ($params{'external_clock'}) { } |
|
104
|
0 |
0 |
unless (defined $params{'device'}) |
|
105
|
0 |
0 |
if ($params{'backend'} eq 'bcm2835') { } |
|
109
|
0 |
0 |
$params{'devicename'} eq '/dev/i2c-0' ? : |
|
181
|
0 |
0 |
$self->allcall ? : |
|
190
|
0 |
0 |
if ($self->external_clock) |
|
215
|
0 |
0 |
if ($delay and $delay > 0) |
|
218
|
0 |
0 |
if (defined $self->_servo_position->[$channel]) { } |
|
232
|
0 |
0 |
if defined $position and $position == $desired_postion |
|
234
|
0 |
0 |
defined $position && $position > $desired_postion ? : |
|
241
|
0 |
0 |
if $delay |
|
312
|
0 |
0 |
if ($self->debug) |
|
320
|
0 |
0 |
unless $duration |
|
325
|
0 |
0 |
if ($self->debug) |
|
335
|
0 |
0 |
if $degrees < $svc->{'limit_min'} |
|
336
|
0 |
0 |
if $degrees > $svc->{'limit_max'} |
|
340
|
0 |
0 |
if ($self->debug) |
|
350
|
0 |
0 |
if $us < $svc->{'pulse_min'} |
|
351
|
0 |
0 |
if $us > $svc->{'pulse_max'} |
|
352
|
0 |
0 |
if $us == $svc->{'pulse_mid'} |
|
354
|
0 |
0 |
if ($self->debug) |
|
364
|
0 |
0 |
if ($self->debug) |
|
374
|
0 |
0 |
if ($self->debug) |
|
385
|
0 |
0 |
if (exists $self->_servo_types->[$type]) { } |
|
396
|
0 |
0 |
unless (exists $params{$param}) |
|
401
|
0 |
0 |
unless ($params{'pulse_max'} > $params{'pulse_min'}) |
|
416
|
0 |
0 |
if (exists $params{'degree_max'}) |
|
417
|
0 |
0 |
if $limit_max > $params{'degree_max'} |
|
420
|
0 |
0 |
if (exists $params{'degree_min'}) |
|
421
|
0 |
0 |
if $limit_min < $params{'degree_min'} |