Skip to content

Commit

Permalink
Naming variables is hard...
Browse files Browse the repository at this point in the history
  • Loading branch information
vickash committed Sep 29, 2024
1 parent e635680 commit d11ceb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/denko/spi/bit_bang.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class BitBang
include Behaviors::Lifecycle

before_initialize do
init_pins = params[:pins]
param_pins = params[:pins]
# Allow pin aliases.
param_pins[:input] = param_pins[:input] || param_pins[:poci] || param_pins[:miso]
param_pins[:output] = param_pins[:output] || param_pins[:pico] || param_pins[:mosi]
Expand Down

0 comments on commit d11ceb0

Please sign in to comment.