armsrc: clarify static vars vs global vars, part 3

This commit is contained in:
Philippe Teuwen committed 2020-05-19 18:12:40 +02:00
1 parent 1784a3437f
commit cb8d589fc4
16 files changed
+25 -32

No files matched your search

+2 -2
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);