mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-08 19:31:53 +00:00
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:
@@ -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__*/
|
||||
|
||||
Reference in New Issue
Block a user