grblHAL core  20241107
sleep.h
Go to the documentation of this file.
1 /*
2  sleep.h - Sleep methods header file
3 
4  Part of grblHAL
5 
6  Copyright (c) 2016 Sungeun K. Jeon
7 
8  Grbl is free software: you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  Grbl is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with Grbl. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
22 #ifndef _SLEEP_H_
23 #define _SLEEP_H_
24 
25 // Checks running conditions for sleep. If satisfied, enables sleep countdown and executes
26 // sleep mode upon elapse.
27 void sleep_check();
28 
29 #endif
void sleep_check()
Definition: sleep.c:65