Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fsensor.h « Firmware - github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 126a7f4fdc46cc398db34d64e62374a8df23c6d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef FSENSOR_H
#define FSENSOR_H

#include "planner.h"

//save restore printing
extern void fsensor_stop_and_save_print();
extern void fsensor_restore_print_and_continue();

//enable/disable
extern void fsensor_enable();
extern void fsensor_disable();

//update (perform M600 on filament runout)
extern void fsensor_update();

//setup pin-change interrupt
extern void fsensor_setup_interrupt();

//callbacks from stepper
extern void fsensor_st_block_begin(block_t* bl);
extern void fsensor_st_block_chunk(block_t* bl, int cnt);

//minimum meassured chunk length in steps
extern int16_t fsensor_chunk_len;
//M600 in progress
extern bool fsensor_M600;


#endif //FSENSOR_H