use more descriptive constant

This commit is contained in:
Martin Brodbeck 2022-05-31 15:59:22 +02:00
parent 5e7877b5d8
commit 39bac21110

View file

@ -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();
}