code beautifying
This commit is contained in:
parent
d354be1077
commit
2f7d1dd921
2 changed files with 5 additions and 9 deletions
|
@ -14,10 +14,6 @@ void Relais::activate(bool active) {
|
|||
}
|
||||
}
|
||||
|
||||
void Relais::on() {
|
||||
activate(true);
|
||||
}
|
||||
void Relais::on() { activate(true); }
|
||||
|
||||
void Relais::off() {
|
||||
activate(false);
|
||||
}
|
||||
void Relais::off() { activate(false); }
|
2
relais.h
2
relais.h
|
@ -1,8 +1,8 @@
|
|||
#ifndef RELAIS_H
|
||||
#define RELAIS_H
|
||||
|
||||
#include "pico/stdlib.h"
|
||||
#include "hardware/gpio.h"
|
||||
#include "pico/stdlib.h"
|
||||
|
||||
class Relais {
|
||||
public:
|
||||
|
|
Loading…
Reference in a new issue