Commit 5f6706ae authored by Daan Vreeken's avatar Daan Vreeken
Browse files

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

	modified:   controller/ec/block_beckhoff_el4xxx.c

Fix the driver for the EL4008. The values we output to it should be limited to
32767, not 4096.
parent ea540d86
......@@ -372,7 +372,9 @@ static struct beckhoff_el4xxx_type devlist[] = {
{ "EL4001", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4001, 1, 4096/10.0, 0.0, false, interms_1 },
{ "EL4002", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4002, 2, 4096/10.0, 0.0, false, interms_2 },
{ "EL4004", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4004, 4, 4096/10.0, 0.0, false, interms_4 },
{ "EL4008", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4008, 8, 4096/10.0, 0.0, false, interms_8 },
{ "EL4008", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4008, 8, 32767 / 10.0, 0.0, true, interms_8 },
{ "EL4011", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4001, 1, 4096/0.02, 0.0, false, interms_1 },
{ "EL4012", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4002, 2, 4096/0.02, 0.0, false, interms_2 },
{ "EL4014", ESC_ESI_PRODUCTCODE_BECKHOFF_EL4004, 4, 4096/0.02, 0.0, false, interms_4 },
......
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