mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-25 03:34:51 +00:00
updated linuxfb build
This commit is contained in:
parent
c5e41a5ea7
commit
182c7649d8
@ -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;
|
||||
|
@ -14,6 +14,10 @@ LinuxSpeaker::~LinuxSpeaker()
|
||||
{
|
||||
}
|
||||
|
||||
void LinuxSpeaker::begin()
|
||||
{
|
||||
}
|
||||
|
||||
void LinuxSpeaker::toggle(uint32_t c)
|
||||
{
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user