mirror of
https://github.com/eddyem/small_tel.git
synced 2026-05-01 18:37:07 +03:00
add forgotten "status"
This commit is contained in:
@@ -101,6 +101,7 @@ void write_header(){
|
|||||||
|
|
||||||
if(get_telescope_data(&st)) WRHDR("OPERATIO", "'FORBIDDEN'", "Observations are forbidden");
|
if(get_telescope_data(&st)) WRHDR("OPERATIO", "'FORBIDDEN'", "Observations are forbidden");
|
||||||
if(header_mask.telname && telescope_name) WRHDR("TELESCOP", telescope_name, "Telescope name");
|
if(header_mask.telname && telescope_name) WRHDR("TELESCOP", telescope_name, "Telescope name");
|
||||||
|
WRHDR("STATUS", st.status, "Telescope shutters' status");
|
||||||
if(header_mask.fosuser){
|
if(header_mask.fosuser){
|
||||||
snprintf(val, 21, "%d", st.focuserpos);
|
snprintf(val, 21, "%d", st.focuserpos);
|
||||||
WRHDR("FOCUS", val, "Current focuser position");
|
WRHDR("FOCUS", val, "Current focuser position");
|
||||||
|
|||||||
Reference in New Issue
Block a user