kopia lustrzana https://gitlab.com/sane-project/backends
G4050/G4010 progress
- added 100, 150, 400 and 600 dpi modes for G4050/G4010 - added 400 and 500 dpi modes for KV-SS080merge-requests/1/head
rodzic
29e641f647
commit
839851f618
|
@ -1004,8 +1004,8 @@ static Genesys_Model panasonic_kvss080_model = {
|
|||
GENESYS_GL843,
|
||||
NULL,
|
||||
|
||||
{ 600, 300, 200, 150, 100, 75, 0}, /* possible x-resolutions */
|
||||
{ 1200, 600, 300, 200, 150, 100, 75, 0}, /* possible y-resolutions */
|
||||
{ 600, 500, 400, 300, 200, 150, 100, 75, 0}, /* possible x-resolutions */
|
||||
{ 1200, 600, 500, 400, 300, 200, 150, 100, 75, 0}, /* possible y-resolutions */
|
||||
{16, 8, 0}, /* possible depths in gray mode */
|
||||
{16, 8, 0}, /* possible depths in color mode */
|
||||
|
||||
|
@ -1055,8 +1055,8 @@ static Genesys_Model hpg4010_model = {
|
|||
GENESYS_GL843,
|
||||
NULL,
|
||||
|
||||
{ /* 4800, 2400, 1200, 800, 600, 400, */ 300, 200, 0},
|
||||
{ /* 4800, 2400, 1200, 800, 600, 400, */ 300, 200, 0},
|
||||
{ /*2400, 1200, */600, 400, 300, 200, 150, 100, 0}, /* TODO when settled down, add 800 and 1600 */
|
||||
{ /*2400, 1200, */600, 400, 300, 200, 150, 100, 0}, /* TODO 4800 available */
|
||||
{16, 8, 0}, /* possible depths in gray mode */
|
||||
{16, 8, 0}, /* possible depths in color mode */
|
||||
|
||||
|
@ -1107,8 +1107,8 @@ static Genesys_Model hpg4050_model = {
|
|||
GENESYS_GL843,
|
||||
NULL,
|
||||
|
||||
{ 4800, 2400, 1200, 600, 300, 200, 150, 100, 0},
|
||||
{ 4800, 2400, 1200, 600, 300, 200, 150, 100, 0},
|
||||
{ /*2400, 1200, */600, 400, 300, 200, 150, 100, 0}, /* TODO when settled down, add 800 and 1600 */
|
||||
{ /*2400, 1200, */600, 400, 300, 200, 150, 100, 0}, /* TODO 4800 available */
|
||||
{16, 8, 0}, /* possible depths in gray mode */
|
||||
{16, 8, 0}, /* possible depths in color mode */
|
||||
|
||||
|
|
|
@ -555,13 +555,13 @@ Motor_Profile *profile;
|
|||
/* use profile to build table */
|
||||
sum=0;
|
||||
i=0;
|
||||
current=((profile->table[0]*exposure)/profile->exposure)>>step_type;
|
||||
current=profile->table[0]>>step_type;
|
||||
while(i<(256*factor) && current>target)
|
||||
{
|
||||
slope[i]=current;
|
||||
sum+=slope[i];
|
||||
i++;
|
||||
current=((profile->table[i]*exposure)/profile->exposure)>>step_type;
|
||||
current=profile->table[i]>>step_type;
|
||||
}
|
||||
|
||||
/* align size on step time factor */
|
||||
|
@ -595,6 +595,8 @@ gl843_setup_sensor (Genesys_Device * dev, Genesys_Register_Set * regs, int dpi)
|
|||
r->value = dev->sensor.regs_0x10_0x1d[i];
|
||||
}
|
||||
|
||||
/* TODO we need to create another data struct
|
||||
* for CKxMAP and CKSEL */
|
||||
/* use x1 cksel when at higher resolutions */
|
||||
/* KV-SS080 sensor */
|
||||
if (dev->model->ccd_type == CCD_KVSS080)
|
||||
|
@ -611,6 +613,28 @@ gl843_setup_sensor (Genesys_Device * dev, Genesys_Register_Set * regs, int dpi)
|
|||
sanei_genesys_write_register (dev, 0x78, 0x07);
|
||||
}
|
||||
}
|
||||
/* G4050/G4010 sensor */
|
||||
if (dev->model->ccd_type == CCD_G4050)
|
||||
{
|
||||
if(dpi<=300)
|
||||
{
|
||||
sanei_genesys_write_register (dev, 0x74, 0x00);
|
||||
sanei_genesys_write_register (dev, 0x75, 0x1c);
|
||||
sanei_genesys_write_register (dev, 0x76, 0x7f);
|
||||
}
|
||||
else if(dpi<=600)
|
||||
{
|
||||
sanei_genesys_write_register (dev, 0x74, 0x00);
|
||||
sanei_genesys_write_register (dev, 0x75, 0x01);
|
||||
sanei_genesys_write_register (dev, 0x76, 0xff);
|
||||
}
|
||||
else /* 800 to 2400 case */
|
||||
{
|
||||
sanei_genesys_write_register (dev, 0x74, 0x00);
|
||||
sanei_genesys_write_register (dev, 0x75, 0x3f);
|
||||
sanei_genesys_write_register (dev, 0x76, 0xff);
|
||||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < 9; i++)
|
||||
{
|
||||
|
@ -740,7 +764,8 @@ gl843_init_registers (Genesys_Device * dev)
|
|||
SETREG (0xab, 0x50);
|
||||
|
||||
/* G4050 values */
|
||||
if (strcmp (dev->model->name, "hewlett-packard-scanjet-g4050") == 0)
|
||||
if ((strcmp (dev->model->name, "hewlett-packard-scanjet-g4050") == 0)
|
||||
|| (strcmp (dev->model->name, "hewlett-packard-scanjet-g4010") == 0))
|
||||
{
|
||||
SETREG (0x03, 0x1d);
|
||||
SETREG (0x05, 0x08);
|
||||
|
@ -1163,6 +1188,51 @@ static int gl843_compute_dpihw(Genesys_Device *dev, int xres)
|
|||
}
|
||||
}
|
||||
|
||||
/**@brief compute exposure to use
|
||||
* compute the sensor exposure based on target resolution
|
||||
*/
|
||||
static int gl843_compute_exposure(Genesys_Device *dev, int xres)
|
||||
{
|
||||
switch(dev->model->ccd_type)
|
||||
{
|
||||
case CCD_G4050:
|
||||
if(xres<1200)
|
||||
{
|
||||
return 8016;
|
||||
}
|
||||
return 21376;
|
||||
case CCD_KVSS080:
|
||||
default:
|
||||
return 8000;
|
||||
}
|
||||
}
|
||||
|
||||
/**@brief compute motor step type to use
|
||||
* compute the step type (full, half, quarter, ...) to use based
|
||||
* on target resolution
|
||||
* @param dev device description
|
||||
* @param yres motor resolution
|
||||
* @return 0 for full step
|
||||
* 1 for half step
|
||||
* 2 for quarter step
|
||||
* 3 for eighth step
|
||||
*/
|
||||
static int gl843_compute_step_type(Genesys_Device *dev, int yres)
|
||||
{
|
||||
switch(dev->model->motor_type)
|
||||
{
|
||||
case MOTOR_G4050:
|
||||
if(yres<=1200)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 2;
|
||||
case MOTOR_KVSS080:
|
||||
default:
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
#define OPTICAL_FLAG_DISABLE_GAMMA 1
|
||||
#define OPTICAL_FLAG_DISABLE_SHADING 2
|
||||
#define OPTICAL_FLAG_DISABLE_LAMP 4
|
||||
|
@ -1220,9 +1290,13 @@ gl843_init_optical_regs_scan (Genesys_Device * dev,
|
|||
used_pixels=pixels/cksel;
|
||||
endx = startx + used_pixels;
|
||||
|
||||
/* factor correction to used dpihw */
|
||||
startx/=factor;
|
||||
endx/=factor;
|
||||
/* factor correction when used dpihw is not native one */
|
||||
if(factor>1)
|
||||
{
|
||||
startx/=factor;
|
||||
endx/=factor;
|
||||
used_pixels=endx-startx;
|
||||
}
|
||||
|
||||
status = gl843_set_fe (dev, AFE_SET);
|
||||
if (status != SANE_STATUS_GOOD)
|
||||
|
@ -1414,25 +1488,6 @@ gl843_get_led_exposure (Genesys_Device * dev)
|
|||
return m + d;
|
||||
}
|
||||
|
||||
/**@brief compute exposure to use
|
||||
* compute the sensor exposure based on target resolution
|
||||
*/
|
||||
static int gl843_compute_exposure(Genesys_Device *dev, int xres)
|
||||
{
|
||||
switch(dev->model->ccd_type)
|
||||
{
|
||||
case CCD_G4050:
|
||||
if(xres<=1200)
|
||||
{
|
||||
return 8016;
|
||||
}
|
||||
return 21376;
|
||||
case CCD_KVSS080:
|
||||
default:
|
||||
return 8000;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* set up registers for an actual scan
|
||||
*
|
||||
|
@ -1585,8 +1640,8 @@ independent of our calculated values:
|
|||
slope_dpi = yres;
|
||||
|
||||
/* scan_step_type */
|
||||
scan_step_type = 1;
|
||||
exposure_time=gl843_compute_exposure (dev, used_res);
|
||||
scan_step_type = gl843_compute_step_type(dev, slope_dpi);
|
||||
exposure_time = gl843_compute_exposure (dev, used_res);
|
||||
|
||||
DBG (DBG_info, "gl843_init_scan_regs : exposure_time=%d pixels\n",
|
||||
exposure_time);
|
||||
|
@ -1858,7 +1913,7 @@ gl843_calculate_current_setup (Genesys_Device * dev)
|
|||
slope_dpi = yres;
|
||||
|
||||
/* scan_step_type */
|
||||
scan_step_type = 1;
|
||||
scan_step_type = gl843_compute_step_type(dev, yres);
|
||||
|
||||
exposure_time = sanei_genesys_exposure_time2 (dev,
|
||||
slope_dpi,
|
||||
|
@ -3644,8 +3699,8 @@ gl843_cold_boot (Genesys_Device * dev)
|
|||
/* URB 14 control 0x40 0x0c 0x8c 0x10 len 1 wrote 0xb4 */
|
||||
RIE (write_end_access (dev, 0x10, 0xb4));
|
||||
|
||||
/* set up clock once for all */
|
||||
if (strcmp (dev->model->name, "hewlett-packard-scanjet-g4050") == 0)
|
||||
/* set up clock once for all TODO use sensor type for these sensor realted registers */
|
||||
if (strncmp (dev->model->name, "hewlett-packard-scanjet-g40", 27) == 0)
|
||||
{
|
||||
/* CK1MAP */
|
||||
RIE (sanei_genesys_write_register (dev, 0x74, 0x00));
|
||||
|
|
|
@ -521,7 +521,7 @@ typedef struct {
|
|||
} Motor_Profile;
|
||||
|
||||
static uint16_t kvss080[]={44444, 34188, 32520, 29630, 26666, 24242, 22222, 19048, 16666, 15686, 14814, 14034, 12402, 11110, 8888, 7618, 6666, 5926, 5228, 4678, 4172, 3682, 3336, 3074, 2866, 2702, 2566, 2450, 2352, 2266, 2188, 2118, 2056, 2002, 1950, 1904, 1860, 1820, 1784, 1748, 1716, 1684, 1656, 1628, 1600, 1576, 1552, 1528, 1506, 1486, 1466, 1446, 1428, 1410, 1394, 1376, 1360, 1346, 1330, 1316, 1302, 1288, 1276, 1264, 1250, 1238, 1228, 1216, 1206, 1194, 1184, 1174, 1164, 1154, 1146, 1136, 1128, 1120, 1110, 1102, 1094, 1088, 1080, 1072, 1064, 1058, 1050, 1044, 1038, 1030, 1024, 1018, 1012, 1006, 1000, 994, 988, 984, 978, 972, 968, 962, 958, 952, 948, 942, 938, 934, 928, 924, 920, 916, 912, 908, 904, 900, 896, 892, 888, 884, 882, 878, 874, 870, 868, 864, 860, 858, 854, 850, 848, 844, 842, 838, 836, 832, 830, 826, 824, 822, 820, 816, 814, 812, 808, 806, 804, 802, 800, 796, 794, 792, 790, 788, 786, 784, 782, 778, 776, 774, 772, 770, 768, 766, 764, 762, 760, 758, 756, 754, 752, 750, 750, 748, 746, 744, 742, 740, 738, 736, 734, 734, 732, 730, 728, 726, 724, 724, 722, 720, 718, 716, 716, 714, 712, 710, 710, 708, 706, 704, 704, 702, 700, 698, 698, 696, 694, 694, 692, 690, 690, 688, 686, 686, 684, 682, 682, 680, 678, 678, 676, 674, 674, 672, 672, 670, 668, 668, 666, 666, 664, 662, 662, 660, 660, 658, 656, 656, 654, 654, 652, 652, 650, 650, 648, 646, 646, 644, 644, 642, 642, 640, 640, 638, 638, 636, 636, 636, 634, 634, 632, 632, 630, 630, 628, 628, 626, 626, 624, 624, 624, 622, 622, 620, 620, 618, 618, 618, 616, 616, 614, 614, 612, 612, 612, 610, 610, 608, 608, 608, 606, 606, 606, 604, 604, 602, 602, 602, 600, 600, 600, 598, 598, 596, 596, 596, 594, 594, 594, 592, 592, 592, 590, 590, 590, 588, 588, 588, 586, 586, 586, 584, 584, 584, 582, 582, 582, 590, 590, 590, 588, 588, 588, 586, 586, 586, 584, 584, 584, 582, 582, 582, 580, 580, 580, 578, 578, 578, 576, 576, 576, 576, 574, 574, 574, 572, 572, 572, 570, 570, 570, 568, 568, 568, 568, 566, 566, 566, 564, 564, 564, 562, 562, 562, 562, 560, 560, 560, 558, 558, 558, 558, 556, 556, 556, 554, 554, 554, 552, 552, 552, 552, 550, 550, 550, 548, 548, 548, 548, 546, 546, 546, 546, 544, 544, 544, 542, 542, 542, 542, 540, 540, 540, 538, 538, 538, 538, 536, 536, 536, 536, 534, 534, 534, 534, 532, 532, 532, 530, 530, 530, 530, 528, 528, 528, 528, 526, 526, 526, 526, 524, 524, 524, 524, 522, 522, 522, 522, 520, 520, 520, 520, 518, 518, 518, 516, 516, 516, 516, 514, 514, 514, 514, 514, 512, 512, 512, 512, 510, 510, 510, 510, 508, 508, 508, 508, 506, 506, 506, 506, 504, 504, 504, 504, 502, 502, 502, 502, 500, 500, 500, 500, 0};
|
||||
static uint16_t g4050_speed_2[]={7842,5898,4384,4258,4152,4052,3956,3864,3786,3714,3632,3564,3498,3444,3384,3324,3276,3228,3174,3128,3086,3044,3002,2968,2930,2892,2860,2824,2794,2760,2732,2704,2676,2650,2618,2594,2568,2548,2524,2500,2478,2454,2436,2414,2392,2376,2354,2338,2318,2302,2282,2266,2252,2232,2218,2202,2188,2174,2160,2142,2128,2116,2102,2088,2076,2062,2054,2040,2028,2020,2014,2008,2004,2002,2002,2002,1946,1882,1826,1770,1716,1662,1612,1568,1526,1488,1454,1422,1390,1362,1336,1310,1288,1264,1242,1222,1204,1184,1166,1150,1134,1118,1104,1090,1076,1064,1050,1038,1026,1016,1004,994,984,972,964,954,944,936,928,920,910,902,896,888,880,874,866,860,854,848,840,834,828,822,816,812,806,800,796,790,784,780,776,770,766,760,756,752,748,744,740,736,732,728,724,720,716,712,708,704,702,698,694,690,688,684,682,678,674,672,668,666,662,660,656,654,650,648,646,644,640,638,636,632,630,628,624,622,620,618,616,614,610,608,606,604,602,600,598,596,594,592,590,588,586,584,582,580,578,576,574,572,570,568,566,564,564,562,560,558,556,554,552,552,550,548,546,546,544,542,540,538,538,536,534,532,532,530,528,528,526,524,522,522,520,518,518,516,514,514,512,512,510,508,508,506,504,504,502,502,500,498,498,496,496,494,494,492,490,490,488,488,486,486,484,484,482,480,480,478,478,476,476,474,474,472,472,470,470,468,468,468,466,466,464,464,462,462,460,460,458,458,456,456,456,454,454,452,452,450,450,450,448,448,446,446,444,444,444,442,442,440,440,440,438,438,438,436,436,434,434,434,432,432,432,430,430,428,428,428,426,426,426,424,424,424,422,422,422,420,420,420,418,418,418,416,416,416,414,414,414,412,412,412,410,410,410,408,408,408,406,406,406,404,404,404,404,402,402,402,400,400,400,400,398,398,398,396,396,396,396,394,394,394,392,392,392,392,390,390,390,388,388,388,388,386,386,386,386,384,384,384,384,382,382,382,382,380,380,380,380,378,378,378,378,376,376,376,376,376,374,374,374,374,374,372,372,372,372,372,370,370,370,370,370,368,368,368,368,368,366,366,366,366,366,364,364,364,364,364,364,362,362,362,362,362,360,360,360,360,360,360,358,358,358,358,358,358,356,356,356,356,356,356,354,354,354,354,354,352,352,352,352,352,352,350,350,350,350,350,350,350,348,348,348,348,348,348,346,346,346,346,346,346,344,344,344,344,344,344,344,342,342,342,342,342,342,340,340,340,340,340,340,340,338,338,338,338,338,338,338,336,336,336,336,336,336,336,334,334,334,334,334,334,334,332,332,332,332,332,332,332,332,330,330,330,330,330,330,330,328,328,328,328,328,328,328,328,326,326,326,326,326,326,326,324,324,324,324,324,324,324,324,322,322,322,322,322,322,322,322,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320, 0};
|
||||
static uint16_t g4050[]={7842,5898,4384,4258,4152,4052,3956,3864,3786,3714,3632,3564,3498,3444,3384,3324,3276,3228,3174,3128,3086,3044,3002,2968,2930,2892,2860,2824,2794,2760,2732,2704,2676,2650,2618,2594,2568,2548,2524,2500,2478,2454,2436,2414,2392,2376,2354,2338,2318,2302,2282,2266,2252,2232,2218,2202,2188,2174,2160,2142,2128,2116,2102,2088,2076,2062,2054,2040,2028,2020,2014,2008,2004,2002,2002,2002,1946,1882,1826,1770,1716,1662,1612,1568,1526,1488,1454,1422,1390,1362,1336,1310,1288,1264,1242,1222,1204,1184,1166,1150,1134,1118,1104,1090,1076,1064,1050,1038,1026,1016,1004,994,984,972,964,954,944,936,928,920,910,902,896,888,880,874,866,860,854,848,840,834,828,822,816,812,806,800,796,790,784,780,776,770,766,760,756,752,748,744,740,736,732,728,724,720,716,712,708,704,702,698,694,690,688,684,682,678,674,672,668,666,662,660,656,654,650,648,646,644,640,638,636,632,630,628,624,622,620,618,616,614,610,608,606,604,602,600,598,596,594,592,590,588,586,584,582,580,578,576,574,572,570,568,566,564,564,562,560,558,556,554,552,552,550,548,546,546,544,542,540,538,538,536,534,532,532,530,528,528,526,524,522,522,520,518,518,516,514,514,512,512,510,508,508,506,504,504,502,502,500,498,498,496,496,494,494,492,490,490,488,488,486,486,484,484,482,480,480,478,478,476,476,474,474,472,472,470,470,468,468,468,466,466,464,464,462,462,460,460,458,458,456,456,456,454,454,452,452,450,450,450,448,448,446,446,444,444,444,442,442,440,440,440,438,438,438,436,436,434,434,434,432,432,432,430,430,428,428,428,426,426,426,424,424,424,422,422,422,420,420,420,418,418,418,416,416,416,414,414,414,412,412,412,410,410,410,408,408,408,406,406,406,404,404,404,404,402,402,402,400,400,400,400,398,398,398,396,396,396,396,394,394,394,392,392,392,392,390,390,390,388,388,388,388,386,386,386,386,384,384,384,384,382,382,382,382,380,380,380,380,378,378,378,378,376,376,376,376,376,374,374,374,374,374,372,372,372,372,372,370,370,370,370,370,368,368,368,368,368,366,366,366,366,366,364,364,364,364,364,364,362,362,362,362,362,360,360,360,360,360,360,358,358,358,358,358,358,356,356,356,356,356,356,354,354,354,354,354,352,352,352,352,352,352,350,350,350,350,350,350,350,348,348,348,348,348,348,346,346,346,346,346,346,344,344,344,344,344,344,344,342,342,342,342,342,342,340,340,340,340,340,340,340,338,338,338,338,338,338,338,336,336,336,336,336,336,336,334,334,334,334,334,334,334,332,332,332,332,332,332,332,332,330,330,330,330,330,330,330,328,328,328,328,328,328,328,328,326,326,326,326,326,326,326,324,324,324,324,324,324,324,324,322,322,322,322,322,322,322,322,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320, 0};
|
||||
|
||||
/**
|
||||
* database of motor profiles
|
||||
|
@ -530,7 +530,8 @@ static uint16_t g4050_speed_2[]={7842,5898,4384,4258,4152,4052,3956,3864,3786,37
|
|||
/* *INDENT-OFF* */
|
||||
static Motor_Profile motors[]={
|
||||
{MOTOR_KVSS080, 8000, kvss080},
|
||||
{MOTOR_G4050, 8016, g4050_speed_2},
|
||||
{MOTOR_G4050, 8016, g4050},
|
||||
{MOTOR_G4050, 21376, g4050},
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue