move channel_gain to fsi_channel_config

where it really belongs
parent 620a2abe
......@@ -86,7 +86,6 @@ enum fsi_expert_mode {
struct fsi_peak_config {
double frequency; /**< estimated frequency where peak fits */
double range1, range2; /**< estimated interval of peak range */
int channel_gain; /**< use channel gain (toggle?) */
enum fsi_peak_type type; /**< shape of peak to fit */
};
......@@ -115,8 +114,8 @@ struct fsi_peak_result {
struct fsi_channel_config {
unsigned int channel_id; /**< channel to be configured */
enum fsi_channel_type type; /**< type of channel (distance/Bragg) */
double channel_gain; /**< channel gain FIXME: see fsi_peak_request */
int npeaks; /**< number of valid peaks to be requested in peaks array */
int channel_gain; /**< bool: *do* make use of channel gain */
struct fsi_peak_config
peaks[FSI_MAX_PEAKS]; /**< peak requests
FIXME: should peak params be identical for all of them?
......
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