Testing Messagepack for saving/loading stuff from SD card

This commit is contained in:
furrtek
2016-05-15 02:35:08 +02:00
parent 7267de234d
commit 61fdb57b8f
20 changed files with 394 additions and 51 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ void EPARProcessor::execute(const buffer_c8_t& buffer) {
} else {
current_tu++;
}
sample = 0;
sample = -127;
}
sample_count = 0;
@@ -91,7 +91,7 @@ void EPARProcessor::execute(const buffer_c8_t& buffer) {
}
//FM
frq = sample * 1000; // ~25kHz wide
frq = sample * shared_memory.excursion; // 500=~3kHz wide
phase = (phase + frq);
sphase = phase + (256<<16);
+3 -3
View File
@@ -49,9 +49,9 @@ public:
void execute(const buffer_c8_t& buffer) override;
private:
const uint8_t bitdef[2][3] = {
{0, 255, 255},
{0, 0, 255}
const int8_t bitdef[2][3] = {
{-127, 127, 127},
{-127, -127, 127}
};
int8_t re, im;
uint8_t s;