diff options
-rw-r--r-- | src/calibrator.c | 5 | ||||
-rw-r--r-- | src/calibrator.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/calibrator.c b/src/calibrator.c index a0dcb3a..38987d3 100644 --- a/src/calibrator.c +++ b/src/calibrator.c @@ -187,6 +187,11 @@ int draw_id(void) } +/** + * Draw squares used as reference when tweeking the gamma correction + * + * @return Zero on success, -1 on error + */ int draw_gamma(void) { size_t f, x, y, fn = fb_count(); diff --git a/src/calibrator.h b/src/calibrator.h index 1db7a3b..d953efd 100644 --- a/src/calibrator.h +++ b/src/calibrator.h @@ -63,6 +63,13 @@ int gamma_digit(drm_crtc_t* restrict crtc, int colour, size_t value); */ int draw_id(void); +/** + * Draw squares used as reference when tweeking the gamma correction + * + * @return Zero on success, -1 on error + */ +int draw_gamma(void); + #endif |