scpi-pps: Fix a compiler warning.
CC src/hardware/scpi-pps/profiles.lo src/hardware/scpi-pps/profiles.c:67:2: warning: missing initializer for field 'frequency' of 'const struct channel_spec' [-Wmissing-field-initializers] { "1", { 0, 60, 0.0001 }, { 0, 25, 0.1 } }, ^ In file included from src/hardware/scpi-pps/profiles.c:24:0: src/hardware/scpi-pps/protocol.h:106:8: note: 'frequency' declared here float frequency[3]; ^
This commit is contained in:
parent
8cb5affe00
commit
c80cf3e02e
|
@ -64,7 +64,7 @@ static const uint32_t agilent_n5700a_devopts_cg[] = {
|
|||
};
|
||||
|
||||
static const struct channel_spec agilent_n5767a_ch[] = {
|
||||
{ "1", { 0, 60, 0.0001 }, { 0, 25, 0.1 } },
|
||||
{ "1", { 0, 60, 0.0001 }, { 0, 25, 0.1 }, FREQ_DC_ONLY },
|
||||
};
|
||||
|
||||
static const struct channel_group_spec agilent_n5767a_cg[] = {
|
||||
|
|
Loading…
Reference in New Issue