Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
vickash committed Sep 30, 2024
1 parent 927f396 commit 2c3eb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/denko/pulse_io/pwm_output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def board_is_piboard

def piboard_check
if Object.const_defined?("Denko::PiBoard")
if board.class.ancestors.include(Denko::PiBoard)
if board.class.ancestors.include?(Denko::PiBoard)
return true
end
end
Expand Down

0 comments on commit 2c3eb6d

Please sign in to comment.