Adapt neutrino-mp for CST hardware part #1

- Fix compile for cst hardware
 - Code tested on kronos and apollo hardware, is ok
 - On Nevis hardware will be compiled, but not working
 (no frontend found, segfault)


Origin commit data
------------------
Branch: ni/coolstream
Commit: 403d02ec2b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-15 (Fri, 15 Jan 2016)

Origin message was:
------------------
Adapt neutrino-mp for CST hardware part #1

 - Fix compile for cst hardware
 - Code tested on kronos and apollo hardware, is ok
 - On Nevis hardware will be compiled, but not working
  (no frontend found, segfault)


------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-01-15 16:19:43 +01:00
parent 7795008acf
commit 8db42dd287
12 changed files with 52 additions and 11 deletions

View File

@@ -120,7 +120,11 @@ typedef struct {
unsigned short xres, yres;
unsigned int segment_count;
fp_display_text_type_t text_support;
#ifdef __cplusplus
bool number_support;
#else
int number_support;
#endif
} fp_display_caps_t;
#define IOC_FP_SET_BRIGHT _IOW(0xDE, 1, unsigned char) /* set the display brighness in 16 steps between 0 to 15 */