use more descriptive constant
This commit is contained in:
parent
5e7877b5d8
commit
39bac21110
1 changed files with 1 additions and 1 deletions
|
@ -1,8 +1,8 @@
|
|||
#include "relais.h"
|
||||
|
||||
Relais::Relais(uint gpio) : gpio{gpio} {
|
||||
gpio_set_dir(gpio, true);
|
||||
gpio_init(gpio);
|
||||
gpio_set_dir(gpio, GPIO_OUT);
|
||||
off();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue