mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 02:02:23 +00:00
* add WIP for Unit C6L * adapt to new config structure * Add c6l BLE and screen support (#7991) * Minor c6l fix * Move out of PRIVATE_HW --------- Co-authored-by: Austin <vidplace7@gmail.com> Co-authored-by: Ben Meadors <benmmeadors@gmail.com> Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz> Co-authored-by: Jason P <Xaositek@users.noreply.github.com> Co-authored-by: Markus <Links2004@users.noreply.github.com>
19 lines
412 B
C++
19 lines
412 B
C++
#pragma once
|
|
|
|
#include "InputBroker.h"
|
|
#include "OneButton.h"
|
|
#include "concurrency/OSThread.h"
|
|
#include "configuration.h"
|
|
#if defined(M5STACK_UNITC6L)
|
|
|
|
class i2cButtonThread : public Observable<const InputEvent *>, public concurrency::OSThread
|
|
{
|
|
public:
|
|
const char *_originName;
|
|
explicit i2cButtonThread(const char *name);
|
|
int32_t runOnce() override;
|
|
};
|
|
|
|
extern i2cButtonThread *i2cButton;
|
|
#endif
|