Fix for limit pin reporting compile-option

- The limit pin reporting wasn’t working correctly due to calling the
wrong similarly-named function. Verified to be working now.
This commit is contained in:
Sonny Jeon 2015-03-29 20:33:51 -06:00
parent 4c20a2173f
commit f5e7436a02

View File

@ -496,8 +496,8 @@ void report_realtime_status()
printPgmString(PSTR(",Lim:")); printPgmString(PSTR(",Lim:"));
uint8_t idx; uint8_t idx;
for (idx=0; idx<N_AXIS; idx++) { for (idx=0; idx<N_AXIS; idx++) {
if (LIMIT_PIN & get_limit_pin_mask(idx)) { printString(PSTR("1")); } if (LIMIT_PIN & get_limit_pin_mask(idx)) { printPgmString(PSTR("1")); }
else { printString(PSTR("0")); } else { printPgmString(PSTR("0")); }
} }
#endif #endif