Clean up declaration and usage of global variables, mark with a suffix instead of...
[dmxpainter.git] / src / buf.c
1 #include "buf.h"
2
3 /*
4  * All channel greyscale data is initialized to zero.
5  */
6 volatile char buf_gs__[512];
7
8 /*
9  * One dot correction for everything.
10  */
11 #define BUF_DC_MAX 0x3F
12 #define BUF_DC_R   BUF_DC_MAX
13 #define BUF_DC_G   0x12
14 #define BUF_DC_B   0x12
15 const char buf_dc__[3] = { BUF_DC_R, BUF_DC_G, BUF_DC_B };