Created
October 30, 2013 18:46
-
-
Save dagon666/7237860 to your computer and use it in GitHub Desktop.
audio binary packet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define PWM_SAMPLES_BUFFER 64 | |
| #define PWM_BUFFERS 4 | |
| struct packet { | |
| uint16_t crc16; | |
| uint8_t num; | |
| uint8_t samples[PWM_SAMPLES_BUFFER]; | |
| }; | |
| static volatile struct packet p[PWM_BUFFERS]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment