Moved a lot of code around to arrange all the public/private stuff more clearly.
[dmxpainter.git] / src / buf.c
1 #include "buf.h"
2
3 /*********************************************************************/
4 /* Declaration of public global variables.                           */
5
6 /*
7  * All channel greyscale data is initialized to zero.
8  * TODO: Size should be based on N_PAINTER
9  */
10 volatile char buf_gs__[512];
11
12 /*
13  * One dot correction for everything.
14  */
15 #define BUF_DC_MAX 0x3F
16 #define BUF_DC_R   BUF_DC_MAX
17 #define BUF_DC_G   0x12
18 #define BUF_DC_B   0x12
19 const char buf_dc__[3] = { BUF_DC_R, BUF_DC_G, BUF_DC_B };