Skip to content

Commit

Permalink
chore(place/logic_example): use all helper
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Jan 12, 2025
1 parent f3b4dec commit 0a909a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/place/logic_example.cr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Place::LogicExample < PlaceOS::Driver
end

def power(state : Bool)
main_lcd.power(state)
system.all(:Display).power(state)
end

def display_count
Expand Down

0 comments on commit 0a909a5

Please sign in to comment.