mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-30 09:46:32 -05:00
16 lines
382 B
C++
16 lines
382 B
C++
#ifndef __FPROTO_PROTOLISTGENERAL_H__
|
|
#define __FPROTO_PROTOLISTGENERAL_H__
|
|
#include <stdint.h>
|
|
|
|
class FProtoListGeneral {
|
|
public:
|
|
FProtoListGeneral() {}
|
|
virtual ~FProtoListGeneral() {}
|
|
virtual void feed(bool level, uint32_t duration) = 0;
|
|
void setModulation(uint8_t modulation) { modulation_ = modulation; }
|
|
|
|
protected:
|
|
uint8_t modulation_ = 0;
|
|
};
|
|
|
|
#endif |