Skip to content

Commit

Permalink
graphics() improved for Raspberry PI
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhildebrandt committed Jan 9, 2025
1 parent a06c23a commit d5a28d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/graphics.js
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ function graphics(callback) {
});
}
}
if (lines.length > 1 && stdout.toString().indexOf('gpu=') >= -1) {
if (lines.length >= 1 && stdout.toString().indexOf('gpu=') >= -1) {
result.controllers.push({
vendor: 'Broadcom',
model: util.getRpiGpu(),
Expand Down

0 comments on commit d5a28d5

Please sign in to comment.