armsrc: clarify static vars vs global vars, part 3
This commit is contained in:
1 parent
1784a3437f
commit
cb8d589fc4
16 files changed
+25
-32
No files matched your search
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user