mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 12:53:53 +01:00
fix tabs
This commit is contained in:
2
.vscode/.server-controller-port.log
vendored
2
.vscode/.server-controller-port.log
vendored
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"port": 13452,
|
"port": 13452,
|
||||||
"time": 1741642644925,
|
"time": 1741711510603,
|
||||||
"version": "0.0.3"
|
"version": "0.0.3"
|
||||||
}
|
}
|
||||||
@@ -60,7 +60,6 @@ float get_rds_sample() {
|
|||||||
idx = rds->in_sample_index;
|
idx = rds->in_sample_index;
|
||||||
cur_waveform = waveform[rds->cur_output]; // get the waveform, this is the biphase in a 0/180 degree phase shift
|
cur_waveform = waveform[rds->cur_output]; // get the waveform, this is the biphase in a 0/180 degree phase shift
|
||||||
|
|
||||||
// Copy over the biphase to the sample buffer, every SAMPLES_PER_BIT
|
|
||||||
for (uint16_t i = 0; i < FILTER_SIZE; i++) {
|
for (uint16_t i = 0; i < FILTER_SIZE; i++) {
|
||||||
rds->sample_buffer[idx++] += *cur_waveform++;
|
rds->sample_buffer[idx++] += *cur_waveform++;
|
||||||
if (idx == SAMPLE_BUFFER_SIZE) idx = 0;
|
if (idx == SAMPLE_BUFFER_SIZE) idx = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user