summaryrefslogtreecommitdiff
path: root/backend/mustek_usb2.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-02-12 17:36:10 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-02-12 17:36:10 +0100
commite0d94cf4d39395df1e2c6bb4d967200298c13881 (patch)
treebe5c7cace6697afc753c152d13ad5145d0884a42 /backend/mustek_usb2.c
parent527bedac30eb120915718eb7997e6dacd583512e (diff)
parent84357741a6a6e6430f199b2c3f7498e0e97da9ad (diff)
Update upstream source from tag 'upstream/1.2.1'
Update to upstream version '1.2.1' with Debian dir a9bb43f754a5c9a361b076af3635cc767b7e652e
Diffstat (limited to 'backend/mustek_usb2.c')
-rw-r--r--backend/mustek_usb2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/backend/mustek_usb2.c b/backend/mustek_usb2.c
index 9faeff6..cb511b9 100644
--- a/backend/mustek_usb2.c
+++ b/backend/mustek_usb2.c
@@ -1165,12 +1165,12 @@ IsTAConnected ()
DBG (DBG_FUNC, "StopScan: start\n");
- if (Asic_Open (&g_chip, g_pDeviceFile) != STATUS_GOOD)
+ if (Asic_Open (&g_chip, g_pDeviceFile) != SANE_STATUS_GOOD)
{
return FALSE;
}
- if (Asic_IsTAConnected (&g_chip, &hasTA) != STATUS_GOOD)
+ if (Asic_IsTAConnected (&g_chip, &hasTA) != SANE_STATUS_GOOD)
{
Asic_Close (&g_chip);
return FALSE;
@@ -1199,16 +1199,16 @@ static SANE_Bool
GetKeyStatus (SANE_Byte * pKey)
{
SANE_Byte pKeyTemp = 0x00;
- STATUS status = Asic_CheckFunctionKey (&g_chip, &pKeyTemp);
+ SANE_Status status = Asic_CheckFunctionKey (&g_chip, &pKeyTemp);
DBG (DBG_FUNC, "GetKeyStatus: start\n");
- if (STATUS_GOOD != Asic_Open (&g_chip, g_pDeviceFile))
+ if (SANE_STATUS_GOOD != Asic_Open (&g_chip, g_pDeviceFile))
{
DBG (DBG_ERR, "GetKeyStatus: Asic_Open is fail\n");
return FALSE;
}
- if (STATUS_GOOD != status)
+ if (SANE_STATUS_GOOD != status)
{
DBG (DBG_ERR, "GetKeyStatus: Asic_CheckFunctionKey is fail\n");
return FALSE;
@@ -1236,7 +1236,7 @@ GetKeyStatus (SANE_Byte * pKey)
*pKey = 0x05; /*Panel key pressed */
}
- if (STATUS_GOOD != Asic_Close (&g_chip))
+ if (SANE_STATUS_GOOD != Asic_Close (&g_chip))
{
DBG (DBG_ERR, "GetKeyStatus: Asic_Close is fail\n");
return FALSE;