mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-07 17:54:39 +08:00
arduino : update the examples for Tx and Rx
This commit is contained in:
@@ -3,17 +3,21 @@
|
||||
#include "fft.h"
|
||||
#include "reed-solomon/rs.hpp"
|
||||
|
||||
#include <cstdio>
|
||||
#include <cmath>
|
||||
#include <ctime>
|
||||
#include <cstdio>
|
||||
//#include <random>
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
#ifdef ARDUINO
|
||||
#define ggprintf(...)
|
||||
#else
|
||||
#define ggprintf(...) \
|
||||
g_fptr && fprintf(g_fptr, __VA_ARGS__)
|
||||
#endif
|
||||
|
||||
//
|
||||
// C interface
|
||||
|
||||
Reference in New Issue
Block a user