* Get a stepper's position in steps. */
| 3417 | * Get a stepper's position in steps. |
| 3418 | */ |
| 3419 | int32_t Stepper::position(const AxisEnum axis) { |
| 3420 | AVR_ATOMIC_SECTION_START(); |
| 3421 | const int32_t v = count_position[axis]; |
| 3422 | AVR_ATOMIC_SECTION_END(); |
| 3423 | return v; |
| 3424 | } |
| 3425 | |
| 3426 | /** |
| 3427 | * Set all axis stepper positions in steps |
no outgoing calls
no test coverage detected