mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-06 18:08:00 +00:00
* Fix various typos Found via `codespell -q 3 -L acount,clen,dout` * Trunk reformatting --------- Co-authored-by: code8buster <communismisgreat@national.shitposting.agency> Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
13 lines
459 B
C++
13 lines
459 B
C++
#pragma once
|
|
#include "BLECharacteristic.h"
|
|
#include "PowerFSM.h" // FIXME - someday I want to make this OTA thing a separate lb at at that point it can't touch this
|
|
|
|
/**
|
|
* A characteristic with a set of overridable callbacks
|
|
*/
|
|
class CallbackCharacteristic : public BLECharacteristic, public BLECharacteristicCallbacks
|
|
{
|
|
public:
|
|
CallbackCharacteristic(const char *uuid, uint32_t btprops) : BLECharacteristic(uuid, btprops) { setCallbacks(this); }
|
|
};
|