kopia lustrzana https://gitlab.com/sane-project/backends
genesys: Remove vim indent settings
rodzic
6fdabd8174
commit
7738412517
|
@ -7536,5 +7536,3 @@ sane_get_select_fd(SANE_Handle handle, SANE_Int * fd)
|
|||
return sane_get_select_fd_impl(handle, fd);
|
||||
});
|
||||
}
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
|
@ -474,5 +474,3 @@ genesys_derotate (Genesys_Scanner * s)
|
|||
DBGCOMPLETED;
|
||||
return SANE_STATUS_GOOD;
|
||||
}
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
|
@ -3647,5 +3647,3 @@ sanei_gl124_init_cmd_set (Genesys_Device * dev)
|
|||
dev->model->cmd_set = &gl124_cmd_set;
|
||||
return SANE_STATUS_GOOD;
|
||||
}
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
|
@ -395,8 +395,6 @@ typedef struct {
|
|||
static size_t order_01[]={0,1};
|
||||
static size_t order_0213[]={0,2,1,3};
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
|
||||
/** @brief database of sensor profiles
|
||||
* database of sensor profiles giving for each sensor and a given resolution, the period, and timings
|
||||
* to setup the sensor for the scan.
|
||||
|
@ -463,7 +461,7 @@ static Motor_Profile motors[]={
|
|||
{MOTOR_CANONLIDE210, 20864, 2, lide210_max},
|
||||
{0, 0, 0, NULL},
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
||||
static
|
||||
SANE_Status gl124_init_scan_regs (Genesys_Device * dev,
|
||||
Genesys_Register_Set * reg,
|
||||
|
@ -500,5 +498,3 @@ gl124_stop_action (Genesys_Device * dev);
|
|||
static SANE_Status
|
||||
gl124_send_slope_table (Genesys_Device * dev, int table_nr,
|
||||
uint16_t * slope_table, int steps);
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
|
@ -5083,5 +5083,3 @@ sanei_gl646_init_cmd_set (Genesys_Device * dev)
|
|||
dev->model->cmd_set = &gl646_cmd_set;
|
||||
return SANE_STATUS_GOOD;
|
||||
}
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
|
@ -347,7 +347,6 @@ static uint8_t xp200_gray[6]={0x05, 0x0a, 0x0f, 0xa0, 0x10, 0x10};
|
|||
* master sensor settings, for a given sensor and dpi,
|
||||
* it gives exposure and CCD time
|
||||
*/
|
||||
/* *INDENT-OFF* */
|
||||
static Sensor_Master sensor_master[] = {
|
||||
/* HP3670 master settings */
|
||||
{CCD_HP3670, 75, SANE_TRUE , 75, 4879, 300, 4, 42, NULL, SANE_FALSE, 0x33, 0x43},
|
||||
|
@ -592,4 +591,3 @@ static Sensor_Settings sensor_settings[] = {
|
|||
{0x0f, 0x13, 0x17, 0x03, 0x07, 0x0b, 0x83} /* half ccd settings */
|
||||
},
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
|
|
@ -5677,5 +5677,3 @@ sanei_gl841_init_cmd_set (Genesys_Device * dev)
|
|||
dev->model->cmd_set = &gl841_cmd_set;
|
||||
return SANE_STATUS_GOOD;
|
||||
}
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
|
@ -4545,5 +4545,3 @@ sanei_gl843_init_cmd_set (Genesys_Device * dev)
|
|||
dev->model->cmd_set = &gl843_cmd_set;
|
||||
return SANE_STATUS_GOOD;
|
||||
}
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
|
@ -560,7 +560,6 @@ static uint32_t motor_speeds_cs8600f[] = {
|
|||
* database of motor profiles
|
||||
*/
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
static Motor_Profile gl843_motors[]={
|
||||
/* KV-SS080 */
|
||||
{MOTOR_KVSS080, 8000, 1, kvss080},
|
||||
|
@ -575,6 +574,3 @@ static Motor_Profile gl843_motors[]={
|
|||
{ MOTOR_CS8600F, 0x59d8, 2, motor_speeds_cs8600f }, // FIXME: if the exposure is lower then we'll select another motor
|
||||
{ 0, 0, 0, NULL },
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
|
@ -3379,5 +3379,3 @@ sanei_gl846_init_cmd_set (Genesys_Device * dev)
|
|||
dev->model->cmd_set = &gl846_cmd_set;
|
||||
return SANE_STATUS_GOOD;
|
||||
}
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
|
@ -476,8 +476,6 @@ typedef struct {
|
|||
uint8_t r17; /**> TG width */
|
||||
} Sensor_Profile;
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
|
||||
/**
|
||||
* order of the scanned pixel
|
||||
*/
|
||||
|
@ -490,7 +488,6 @@ static Sensor_Profile sensors[]={
|
|||
{CCD_IMG101, 1200, 11000, 60, 159, 85, 5136, 255, 0, 0, 0, order_01 , 0x13},
|
||||
{CCD_PLUSTEK3800, 1200, 11000, 60, 159, 85, 5136, 255, 0, 0, 0, order_01 , 0x13},
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
||||
/* base motor slopes in full step unit */
|
||||
/* target=((exposure * dpi) / base_dpi)>>step_type; */
|
||||
|
@ -500,7 +497,6 @@ static uint32_t img101_high[] = {22000, 22000, 22000, 18450, 15974, 14284, 13054
|
|||
* database of motor profiles
|
||||
*/
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
static Motor_Profile gl846_motors[]={
|
||||
/* Image Formula 101 */
|
||||
{MOTOR_IMG101, 11000, HALF_STEP , img101_high},
|
||||
|
@ -509,6 +505,3 @@ static Motor_Profile gl846_motors[]={
|
|||
/* end of database entry */
|
||||
{0, 0, 0, NULL},
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
|
@ -3498,5 +3498,3 @@ sanei_gl847_init_cmd_set (Genesys_Device * dev)
|
|||
dev->model->cmd_set = &gl847_cmd_set;
|
||||
return SANE_STATUS_GOOD;
|
||||
}
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
|
@ -437,8 +437,6 @@ typedef struct {
|
|||
uint8_t r17; /**> TG width */
|
||||
} Sensor_Profile;
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
|
||||
static size_t order_01[]={0,1};
|
||||
static size_t order_0213[]={0,2,1,3};
|
||||
static size_t order_0246[]={0,2,4,6,1,3,5,7};
|
||||
|
@ -474,7 +472,6 @@ static Sensor_Profile sensors[]={
|
|||
{CIS_CANONLIDE700, 2400, 10576, 135, 249, 85, 5187, 255, 2798, 1558, 972, new_order , 0x08},
|
||||
{CIS_CANONLIDE700, 4800, 10576, 135, 249, 85, 5187, 255, 2798, 1558, 972, order_0145, 0x06},
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
||||
/* base motor sopes in full step unit */
|
||||
/* target=((exposure * dpi) / base_dpi)>>step_type; */
|
||||
|
@ -494,7 +491,6 @@ static uint32_t lide200_max[] = { 124992, 124992, 124992, 124992, 124992, 124992
|
|||
* database of motor profiles
|
||||
*/
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
static Motor_Profile gl847_motors[]={
|
||||
/* LiDE 100 */
|
||||
{MOTOR_CANONLIDE100, 2848, HALF_STEP , lide200_base},
|
||||
|
@ -521,6 +517,3 @@ static Motor_Profile gl847_motors[]={
|
|||
/* end of database entry */
|
||||
{0, 0, 0, NULL},
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
||||
/* vim: set sw=2 cino=>2se-1sn-1s{s^-1st0(0u0 smarttab expandtab: */
|
||||
|
|
Ładowanie…
Reference in New Issue