fix spellings and spaces

parent 43530c41
......@@ -50,7 +50,7 @@ enum fsi_peak_type {
/* FIXME:should Bragg type be set apart? tbd */
};
enum fsi_expert_mode mode {
enum fsi_expert_mode {
FSI_EXPERT_NONE = 0,
FSI_EXPERT_LIN_FFT, /**< buffer of linearized FFT data */
FSI_EXPERT_LIN_DATA, /**< does this mean linearized time-domain data? tbd */
......@@ -68,6 +68,8 @@ enum fsi_expert_mode mode {
#define FSI_MAX_PEAKS 5
/* length of return peak data */
#define FSI_PEAK_LENGTH 200
/* size of sample vectors - this should not be hardcoded - tbd */
#define FSI_SAMPLE_SIZE 1024
/* library error codes */
#define __FSI_ERR_START 1024
......@@ -105,7 +107,7 @@ struct fsi_channel_config {
double channel_gain; /**< channel gain FIXME: see fsi_peak_request */
int npeaks; /**< number of valid peaks to be requested in peaks array */
struct fsi_peak_config
peaks[FSI_MAX_PEAKS]; /**< peak requests
peaks[FSI_MAX_PEAKS]; /**< peak requests
FIXME: should peak params be identical for all of them?
If so, this needs not be an array and npeaks is sufficient */
};
......
......@@ -10,3 +10,8 @@ int fsi_channel_configure(struct fsi_channel_config *cfg)
{
return fsi_channel_array_configure(cfg, 1);
}
int fsi_receive_measurements(struct fsi_channel_measurement meas[], int *nchannels)
{
return fsi_receive_measurements_timemout(meas, nchannels, 0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment