updated linuxfb build

This commit is contained in:
Jorj Bauer 2019-02-28 13:25:48 -05:00
parent c5e41a5ea7
commit 182c7649d8
3 changed files with 9 additions and 2 deletions

View File

@ -82,8 +82,9 @@ void preload_crc()
uint32_t compute_crc_32(unsigned char *buffer, unsigned long length)
{
uint32_t ret = ~0U;
for (unsigned long i=0; i<length; i++)
unsigned long i;
for (i=0; i<length; i++)
ret = (ret>>8) ^ preload32[(ret ^ buffer[i])&0xFF];
return ret ^ ~0U;

View File

@ -14,6 +14,10 @@ LinuxSpeaker::~LinuxSpeaker()
{
}
void LinuxSpeaker::begin()
{
}
void LinuxSpeaker::toggle(uint32_t c)
{
}

View File

@ -12,6 +12,8 @@ class LinuxSpeaker : public PhysicalSpeaker {
LinuxSpeaker();
virtual ~LinuxSpeaker();
virtual void begin();
virtual void toggle(uint32_t c);
virtual void maintainSpeaker(uint32_t c, uint64_t microseconds);
virtual void beginMixing();