summaryrefslogtreecommitdiffstats
path: root/led.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'led.hpp')
-rw-r--r--led.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/led.hpp b/led.hpp
index 0e674bb..f266d4b 100644
--- a/led.hpp
+++ b/led.hpp
@@ -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;
};