Formatted code (#1007)

* Updated style

* Updated files

* fixed new line

* Updated spacing

* File fix WIP

* Updated to clang 13

* updated comment style

* Removed old comment code
This commit is contained in:
jLynx
2023-05-19 08:16:05 +12:00
committed by GitHub
parent 7aca7ce74d
commit 033c4e9a5b
599 changed files with 70746 additions and 66896 deletions

View File

@@ -25,16 +25,16 @@
#include <cstdint>
class Debounce {
public:
bool feed(const uint8_t bit);
uint8_t state() const {
return state_;
}
public:
bool feed(const uint8_t bit);
private:
uint8_t history_ { 0 };
uint8_t state_ { 0 };
uint8_t state() const {
return state_;
}
private:
uint8_t history_{0};
uint8_t state_{0};
};
#endif/*__DEBOUNCE_H__*/
#endif /*__DEBOUNCE_H__*/