move on_second_tick callout to on_idle event, also provide a flag to detect interrupt...
[clinton/Smoothieware.git] / src / libs / utils.h
CommitLineData
4eb9c745
AW
1#ifndef utils_h
2#define utils_h
3
423df6df
AW
4#include <stdint.h>
5using namespace std;
4eb9c745 6#include <string>
5efaa1b1 7#include <vector>
4eb9c745 8using std::string;
4eb9c745 9
4df07f88
MM
10extern volatile bool _isr_context;
11
4eb9c745
AW
12string lc(string str);
13
a699b669
AW
14string remove_non_number( string str );
15
4eb9c745
AW
16uint16_t get_checksum(string to_check);
17
4464301d 18void get_checksums(uint16_t check_sums[], string key);
5efaa1b1 19
4eb9c745
AW
20string shift_parameter( string &parameters );
21
cebe90b6
AW
22string get_arguments( string possible_command );
23
8d857d2e
L
24bool file_exists( string file_name );
25
4de76b51 26void system_reset( void );
4eb9c745
AW
27
28
29
30
31#endif