mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-29 15:59:14 +02:00
use sinf instead of sin
This commit is contained in:
+1
-1
@@ -522,7 +522,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
// Get carrier signal with phase offset if needed
|
||||
float t = osc.phase + phase_offset;
|
||||
float carrier = sin(t);
|
||||
float carrier = sinf(t);
|
||||
advance_oscillator(&osc);
|
||||
|
||||
if (transmitting) {
|
||||
|
||||
Reference in New Issue
Block a user