diff options
Diffstat (limited to '')
-rw-r--r-- | led.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -19,11 +19,11 @@ public: RED, GREEN, YELLOW, }; - led(gpio *pin, color color); + led(gpio_pin *pin, color color); virtual ~led(); - void pin(gpio *pin); - gpio * pin() const ; + void pin(gpio_pin *pin); + gpio_pin * pin() const ; void get_color(color color); color set_color() const; @@ -37,7 +37,7 @@ public: private: led() {} - gpio *_pin = nullptr; + gpio_pin *_pin = nullptr; color _color; }; |