|
@@ -125,10 +125,10 @@ static int set_var(struct fbtft_par *par)
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
- Gamma string format:
|
|
|
- PKP0 PKP1 PKP2 PKP3 PKP4 PKP5 PKP6 PKP7 PKP8 PKP9 PKP10 PKP11 VRP0 VRP1
|
|
|
- PKN0 PKN1 PKN2 PKN3 PKN4 PKN5 PKN6 PKN7 PRN8 PRN9 PRN10 PRN11 VRN0 VRN1
|
|
|
-*/
|
|
|
+ * Gamma string format:
|
|
|
+ * PKP0 PKP1 PKP2 PKP3 PKP4 PKP5 PKP6 PKP7 PKP8 PKP9 PKP10 PKP11 VRP0 VRP1
|
|
|
+ * PKN0 PKN1 PKN2 PKN3 PKN4 PKN5 PKN6 PKN7 PRN8 PRN9 PRN10 PRN11 VRN0 VRN1
|
|
|
+ */
|
|
|
#define CURVE(num, idx) curves[num * par->gamma.num_values + idx]
|
|
|
static int set_gamma(struct fbtft_par *par, unsigned long *curves)
|
|
|
{
|