Commit 37bd37d2 authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

Enable watchdog in the stoeber block.

It was already enabled in the ethercat code, but that changed.
parent 2336cac5
...@@ -668,7 +668,9 @@ static struct controller_block *block_stoeber_create(char *name, int argc, va_li ...@@ -668,7 +668,9 @@ static struct controller_block *block_stoeber_create(char *name, int argc, va_li
esc->pre_operational_hook = pre_operational_hook; esc->pre_operational_hook = pre_operational_hook;
/* sm2 tx pdo (master->slave) @0x1600 */ /* sm2 tx pdo (master->slave) @0x1600 */
esc->tx_pdo_watchdog = false; //watchdog was always on.
//Check this works in Dwingeloo, then permanently remove...
// esc->tx_pdo_watchdog = false;
esc->tx_pdo = true; esc->tx_pdo = true;
esc->tx_pdo_sm = 2; esc->tx_pdo_sm = 2;
esc->sm[2].start = 0x1600; esc->sm[2].start = 0x1600;
......
Supports Markdown
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