mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-08 18:37:38 +00:00
2ccda5aebd
* Initial commit - wip * Half part of the transition of baseband processor. * More SGD * WIP, Weather refactor, UI improv * Rename * Added 4msps, and fixes * Fixes * princeton working * Renamed proc_weather, bc now multifunctional * Proto: bett * FPS_CAME = 4, FPS_PRASTEL = 5, FPS_AIRFORCE = 6, * Came Atomo, fixes * Separate weather and sgd, bc of baseband size limit * Fix display * Save space * More protos * Dooya proto added * More protos * add protos * More protos * Move weather to ext app * nw * Revert "Move weather to ext app" This reverts commit 8a84aac2f59274b72de7c7803deb137a21838076. * revert * Fix merge * Better naming * More protos * More protos * Add protos * Fix warning * Add NeroRadio * more protos * more protos * More protos * Shrink a bit * fixes * More protos * Nicer code * Fix naming * Fix format * Remove unused * Fix some protos, that needs a LOOOONG part with the same lo/high * Modify key calculation
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 |