.opts = PO_ADVANCED,
.def.i = 1
},
- {
- .type = PT_BOOL,
- .id = "switch_rotor",
- .name = N_("Switch before rotor"),
- .off = offsetof(linuxdvb_satconf_t, ls_switch_rotor),
- .opts = PO_ADVANCED,
- },
- {
- .type = PT_U32,
- .id = "max_rotor_move",
- .name = N_("Rotor initialization time (seconds)"),
- .off = offsetof(linuxdvb_satconf_t, ls_max_rotor_move),
- .opts = PO_ADVANCED,
- .def.u32 = 120
- },
- {
- .type = PT_U32,
- .id = "min_rotor_move",
- .name = N_("Minimum rotor time (seconds)"),
- .off = offsetof(linuxdvb_satconf_t, ls_min_rotor_move),
- .opts = PO_ADVANCED,
- },
- {
- .type = PT_DBL,
- .id = "site_lat",
- .name = N_("Site latitude"),
- .off = offsetof(linuxdvb_satconf_t, ls_site_lat),
- .opts = PO_ADVANCED,
- },
- {
- .type = PT_DBL,
- .id = "site_lon",
- .name = N_("Site longitude"),
- .off = offsetof(linuxdvb_satconf_t, ls_site_lon),
- .opts = PO_ADVANCED,
- },
- {
- .type = PT_BOOL,
- .id = "site_lat_south",
- .name = N_("Southern hemisphere (latitude direction)"),
- .off = offsetof(linuxdvb_satconf_t, ls_site_lat_south),
- .opts = PO_ADVANCED,
- .def.i = 0
- },
- {
- .type = PT_BOOL,
- .id = "site_lon_west",
- .name = N_("Western hemisphere (latitude direction)"),
- .off = offsetof(linuxdvb_satconf_t, ls_site_lon_west),
- .opts = PO_ADVANCED,
- .def.i = 0
- },
- {
- .type = PT_INT,
- .id = "site_altitude",
- .name = N_("Altitude (meters)"),
- .off = offsetof(linuxdvb_satconf_t, ls_site_altitude),
- .opts = PO_ADVANCED,
- .def.i = 0
- },
- {
- .type = PT_U32,
- .id = "motor_rate",
- .name = N_("Motor rate (milliseconds/deg)"),
- .off = offsetof(linuxdvb_satconf_t, ls_motor_rate),
- },
{}
}
};
.get = linuxdvb_satconf_class_orbitalpos_get,
.set = linuxdvb_satconf_class_orbitalpos_set,
},
+ {
+ .type = PT_BOOL,
+ .id = "switch_rotor",
+ .name = N_("Switch before rotor"),
+ .off = offsetof(linuxdvb_satconf_t, ls_switch_rotor),
+ .opts = PO_ADVANCED,
+ },
+ {
+ .type = PT_U32,
+ .id = "max_rotor_move",
+ .name = N_("Rotor initialization time (seconds)"),
+ .off = offsetof(linuxdvb_satconf_t, ls_max_rotor_move),
+ .opts = PO_ADVANCED,
+ .def.u32 = 120
+ },
+ {
+ .type = PT_U32,
+ .id = "min_rotor_move",
+ .name = N_("Minimum rotor time (seconds)"),
+ .off = offsetof(linuxdvb_satconf_t, ls_min_rotor_move),
+ .opts = PO_ADVANCED,
+ },
+ {
+ .type = PT_DBL,
+ .id = "site_lat",
+ .name = N_("Site latitude"),
+ .off = offsetof(linuxdvb_satconf_t, ls_site_lat),
+ .opts = PO_ADVANCED,
+ },
+ {
+ .type = PT_DBL,
+ .id = "site_lon",
+ .name = N_("Site longitude"),
+ .off = offsetof(linuxdvb_satconf_t, ls_site_lon),
+ .opts = PO_ADVANCED,
+ },
+ {
+ .type = PT_BOOL,
+ .id = "site_lat_south",
+ .name = N_("Southern hemisphere (latitude direction)"),
+ .off = offsetof(linuxdvb_satconf_t, ls_site_lat_south),
+ .opts = PO_ADVANCED,
+ .def.i = 0
+ },
+ {
+ .type = PT_BOOL,
+ .id = "site_lon_west",
+ .name = N_("Western hemisphere (latitude direction)"),
+ .off = offsetof(linuxdvb_satconf_t, ls_site_lon_west),
+ .opts = PO_ADVANCED,
+ .def.i = 0
+ },
+ {
+ .type = PT_INT,
+ .id = "site_altitude",
+ .name = N_("Altitude (meters)"),
+ .off = offsetof(linuxdvb_satconf_t, ls_site_altitude),
+ .opts = PO_ADVANCED,
+ .def.i = 0
+ },
+ {
+ .type = PT_U32,
+ .id = "motor_rate",
+ .name = N_("Motor rate (milliseconds/deg)"),
+ .off = offsetof(linuxdvb_satconf_t, ls_motor_rate),
+ },
{}
}
};