summaryrefslogtreecommitdiffstats
path: root/backend_sinfonia.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-09-22 23:26:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-09-22 23:40:35 -0400
commiteaab8bcf00fd9bd6774cea16ef3e018c59c870b8 (patch)
tree1b4097637aa6722f444a871ecaaf7c5eb53e397d /backend_sinfonia.h
parent49c2d531cea970c2ead896874116cddc4a9692ec (diff)
downloadselphy_print-eaab8bcf00fd9bd6774cea16ef3e018c59c870b8.tar.gz
selphy_print-eaab8bcf00fd9bd6774cea16ef3e018c59c870b8.tar.bz2
selphy_print-eaab8bcf00fd9bd6774cea16ef3e018c59c870b8.zip
sinfonia: Fix tone curve manipulation
Diffstat (limited to 'backend_sinfonia.h')
-rw-r--r--backend_sinfonia.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend_sinfonia.h b/backend_sinfonia.h
index 9387f45..504d5e0 100644
--- a/backend_sinfonia.h
+++ b/backend_sinfonia.h
@@ -27,7 +27,7 @@
*
*/
-#define LIBSINFONIA_VER "0.12"
+#define LIBSINFONIA_VER "0.13"
#define SINFONIA_HDR1_LEN 0x10
#define SINFONIA_HDR2_LEN 0x64
@@ -124,7 +124,7 @@ const char *sinfonia_bank_statuses(uint8_t v);
each is 256 entries of 11-bit data padded to 16-bits.
Printer expects LE data. We use BE data on disk.
*/
-#define TONE_CURVE_SIZE 0x600
+#define TONE_CURVE_SIZE (256*3)
const char *sinfonia_update_targets (uint8_t v);
#define TONECURVE_INIT 0x00