Skip to content

Commit 582a144

Browse files
committed
document the homed field of the linuxcnc python module
1 parent 7607073 commit 582a144

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/emc/usr_intf/axis/extensions/emcmodule.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,9 @@ static PyGetSetDef Stat_getsetlist[] = {
744744
{(char*)"din", (getter)Stat_din},
745745
{(char*)"dout", (getter)Stat_dout},
746746
{(char*)"gcodes", (getter)Stat_activegcodes},
747-
{(char*)"homed", (getter)Stat_homed},
747+
{(char*)"homed", (getter)Stat_homed, (setter)NULL,
748+
(char*)"An array of integers indicating the 'homed' status of each joint (0 or 1)."
749+
},
748750
{(char*)"limit", (getter)Stat_limit},
749751
{(char*)"mcodes", (getter)Stat_activemcodes},
750752
{(char*)"misc_error", (getter)Stat_misc_error},

0 commit comments

Comments
 (0)