armsrc: clarify static vars vs global vars, part 3

This commit is contained in:
Philippe Teuwen 2020-05-19 17:43:13 +02:00
commit cb8d589fc4
16 changed files with 25 additions and 32 deletions

View file

@ -100,10 +100,10 @@ static void pushBit(BitstreamOut *stream, uint8_t bit) {
}
// Holds bit packed struct of samples.
BitstreamOut data = {0, 0, 0};
static BitstreamOut data = {0, 0, 0};
// internal struct to keep track of samples gathered
sampling_t samples = {0, 0, 0, 0};
static sampling_t samples = {0, 0, 0, 0};
void initSampleBuffer(uint32_t *sample_size) {
initSampleBufferEx(sample_size, false);