refactor: Add clang-tidy checks and simplify codebase
This commit is contained in:
parent
f18100c2ee
commit
c166ffe0b4
17 changed files with 130 additions and 78 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#pragma once
|
||||
#ifndef BLOCK_H
|
||||
#define BLOCK_H
|
||||
|
||||
#include <bits/stdint-uintn.h>
|
||||
#include <stdbool.h>
|
||||
|
|
@ -24,3 +25,5 @@ int block_deinit(block *const block);
|
|||
int block_execute(block *const block, const uint8_t button);
|
||||
int block_update(block *const block);
|
||||
bool block_must_run(const block *const block, const unsigned int time);
|
||||
|
||||
#endif // BLOCK_H
|
||||
|
|
|
|||
Loading…
Reference in a new issue