line |
true |
false |
branch |
114
|
0 |
0 |
if defined $self->dc_pin or defined $self->reset_pin |
116
|
0 |
0 |
if (defined $self->dc_pin) |
117
|
0 |
0 |
if ($self->gpio->get_pin_mode($self->dc_pin) != 1) |
123
|
0 |
0 |
if (defined $self->reset_pin) |
124
|
0 |
0 |
if ($self->gpio->get_pin_mode($self->reset_pin) != 1) |
129
|
0 |
0 |
unless ($params{'skip_reset'}) |
131
|
0 |
0 |
unless ($params{'skip_logo'}) |
144
|
0 |
0 |
$pi->board_type == 1 ? : |
177
|
0 |
0 |
$controltype & 64 ? : |
180
|
0 |
0 |
if ($controltype & 2) |
185
|
0 |
0 |
$controltype & 16 ? : |
193
|
0 |
0 |
unless ($params{'rows'} =~ /^32|64$/) |
196
|
0 |
0 |
unless ($params{'buffer_rows'} =~ /^32|64$/) |
200
|
0 |
0 |
if ($params{'backend'} eq 'spi') { } |
208
|
0 |
0 |
if ($params{'backend'} eq 'i2c') { } |
216
|
0 |
0 |
unless (defined $params{'device'}) |
217
|
0 |
0 |
if ($params{'backend'} eq 'bcm2835') { } |
|
0 |
0 |
elsif ($params{'backend'} eq 'spi') { } |
221
|
0 |
0 |
$params{'devicename'} eq '/dev/i2c-0' ? : |
241
|
0 |
0 |
$params{'device'}->isa('HiPi::Device::SPI') ? : |
249
|
0 |
0 |
if (defined $self->reset_pin) |
261
|
0 |
0 |
if ($self->external_power) { } |
267
|
0 |
0 |
if ($self->controller == 1) |
273
|
0 |
0 |
if ($self->rows == 64) { } |
281
|
0 |
0 |
if ($self->external_power) { } |
290
|
0 |
0 |
if ($self->controller == 1) |
302
|
0 |
0 |
unless (defined $self->gpio and $self->gpio->isa('HiPi::GPIO')) |
310
|
0 |
0 |
if ($self->spidriver) { } |
319
|
0 |
0 |
if ($self->spidriver) { } |
345
|
0 |
0 |
unless $bytecount |
356
|
0 |
0 |
$self->chunk_data ? : |
358
|
0 |
0 |
if ($chunksize) { } |
370
|
0 |
0 |
if ($leftover) |
420
|
0 |
0 |
if ($line >= 0 and $line < $self->buffer_rows) |
438
|
0 |
0 |
if ($x1 < 0 or $x1 >= $self->cols or $x2 < 0 or $x2 >= $self->cols or $y1 < 0 or $y1 >= $self->buffer_rows or $y2 < 0 or $y2 >= $self->buffer_rows or $y1 > $y2 or $x1 > $x2) |
459
|
0 |
0 |
if ($self->buffer_rows == 32 and $self->rows == 32) |
470
|
0 |
0 |
if ($self->controller == 2) { } |
486
|
0 |
0 |
if ($flipped) { } |