|
@@ -58,8 +58,13 @@ extern bool fsensor_oq_result(void);
|
|
|
|
|
|
//! @name callbacks from stepper
|
|
|
//! @{
|
|
|
-extern void fsensor_st_block_begin(bool rev);
|
|
|
extern void fsensor_st_block_chunk(int cnt);
|
|
|
+
|
|
|
+// There's really nothing to do in block_begin: the stepper ISR likely has
|
|
|
+// called us already at the end of the last block, making this integration
|
|
|
+// redundant. LA1.5 might not always do that during a coasting move, so attempt
|
|
|
+// to drain fsensor_st_cnt anyway at the beginning of the new block.
|
|
|
+#define fsensor_st_block_begin(rev) fsensor_st_block_chunk(0)
|
|
|
//! @}
|
|
|
|
|
|
#endif //FSENSOR_H
|