Commit bfdd1aa4 authored by Daan Vreeken's avatar Daan Vreeken
Browse files

Committer: Daan Vreeken <pa4dan@RacebeestV3.VEHosting.LAN>

	modified:   controller/ec/block_beckhoff_el4xxx.c

Remove copy/pasto. The EL400* blocks were in the table twice.
parent 5f6706ae
......@@ -383,10 +383,6 @@ static struct beckhoff_el4xxx_type devlist[] = {
{ "EL4022", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4002, 2, 4096/0.016, -0.004, false, interms_2 },
{ "EL4024", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4004, 4, 4096/0.016, -0.004, false, interms_4 },
{ "EL4028", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4008, 8, 4096/0.016, -0.004, false, interms_8 },
{ "EL4001", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4001, 1, 2048/10.0, 0.0, true, interms_1 },
{ "EL4002", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4002, 2, 2048/10.0, 0.0, true, interms_2 },
{ "EL4004", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4004, 4, 2048/10.0, 0.0, true, interms_4 },
{ "EL4008", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4008, 8, 2048/10.0, 0.0, true, interms_8 },
{ "EL4102", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4102, 2, 65536/10.0, 0.0, false, interms_2 },
{ "EL4112", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4112, 2, 65536/0.02, 0.0, false, interms_2 },
{ "EL4114", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4114, 4, 65536/0.02, 0.0, false, interms_4 },
......@@ -399,6 +395,7 @@ static int pre_operational_hook(struct esc_device *esc)
{
struct controller_block *block = esc->block;
if (!block->private->candev)
block->private->candev = esc_coe_create(esc);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment