aboutsummaryrefslogtreecommitdiffstats
path: root/src/emc/linuxcnc.h
blob: 824c727eaed0a986d9a8c24fba1b72c9e9380e81 (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
/********************************************************************
* Description: linuxcnc.hh
*	Common defines used in many emc2 source files.
*
*
* Author: Petter Reinholdtsen
* License: LGPL Version 2
* System: Any
*
* Copyright (c) 2021 All rights reserved.
********************************************************************/

#ifndef LINUXCNC_H
#define LINUXCNC_H

/* LINELEN is used throughout for buffer sizes, length of file name strings,
   etc. Let's just have one instead of a multitude of defines all the same. */
#define LINELEN 255

/* Used in a number of places for sprintf() buffers. */
#define BUFFERLEN 80

/* Imperial/Metric conversion */
#define MM_PER_INCH 25.4
#define INCH_PER_MM (1.0/MM_PER_INCH)

#endif /* LINUXCNC_H */
bues.ch cgit interface