dnpds40: Correct a bug in the matte state tracking
This commit is contained in:
parent
9eaea2d609
commit
1abae91127
|
@ -7,7 +7,7 @@
|
||||||
*
|
*
|
||||||
* Marco Di Antonio and [ ilgruppodigitale.com ]
|
* Marco Di Antonio and [ ilgruppodigitale.com ]
|
||||||
* LiveLink Technology [ www.livelinktechnology.net ]
|
* LiveLink Technology [ www.livelinktechnology.net ]
|
||||||
* An generous benefactor who wishes to remain anonymous
|
* A generous benefactor who wishes to remain anonymous
|
||||||
*
|
*
|
||||||
* The latest version of this program can be found at:
|
* The latest version of this program can be found at:
|
||||||
*
|
*
|
||||||
|
@ -620,8 +620,8 @@ static void dnpds40_attach(void *vctx, struct libusb_device_handle *dev,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef STATE_DIR
|
|
||||||
ctx->last_matte = -1;
|
ctx->last_matte = -1;
|
||||||
|
#ifdef STATE_DIR
|
||||||
/* Check our current job's lamination vs previous job. */
|
/* Check our current job's lamination vs previous job. */
|
||||||
{
|
{
|
||||||
/* Load last matte status from file */
|
/* Load last matte status from file */
|
||||||
|
|
Loading…
Reference in New Issue