mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-26 19:23:51 +01:00
use sinf instead of sin
This commit is contained in:
@@ -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