0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-27 11:33:54 +01:00

use sinf instead of sin

This commit is contained in:
2025-03-09 16:18:08 +01:00
parent 554ede3f75
commit 0adf6ef52d

View File

@@ -522,7 +522,7 @@ int main(int argc, char **argv) {
// Get carrier signal with phase offset if needed // Get carrier signal with phase offset if needed
float t = osc.phase + phase_offset; float t = osc.phase + phase_offset;
float carrier = sin(t); float carrier = sinf(t);
advance_oscillator(&osc); advance_oscillator(&osc);
if (transmitting) { if (transmitting) {