mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-08 22:52:27 -04: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:
parent
7aca7ce74d
commit
033c4e9a5b
599 changed files with 70746 additions and 66896 deletions
|
@ -25,19 +25,19 @@
|
|||
#include <ch.h>
|
||||
|
||||
class ThreadBase {
|
||||
public:
|
||||
virtual ~ThreadBase() = default;
|
||||
|
||||
protected:
|
||||
static msg_t fn(void* arg) {
|
||||
auto obj = static_cast<ThreadBase*>(arg);
|
||||
obj->run();
|
||||
public:
|
||||
virtual ~ThreadBase() = default;
|
||||
|
||||
return 0;
|
||||
}
|
||||
protected:
|
||||
static msg_t fn(void* arg) {
|
||||
auto obj = static_cast<ThreadBase*>(arg);
|
||||
obj->run();
|
||||
|
||||
private:
|
||||
virtual void run() = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
private:
|
||||
virtual void run() = 0;
|
||||
};
|
||||
|
||||
#endif/*__THREAD_BASE_H__*/
|
||||
#endif /*__THREAD_BASE_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue