From a47aaafb3c779ec522c8c862d811913d7f90bbd9 Mon Sep 17 00:00:00 2001 From: prestonr Date: Thu, 31 Oct 2024 17:41:58 -0700 Subject: [PATCH] Fixing the size --- src/jsd_el5042.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsd_el5042.c b/src/jsd_el5042.c index 7676514..fe1fe5c 100644 --- a/src/jsd_el5042.c +++ b/src/jsd_el5042.c @@ -111,7 +111,7 @@ int jsd_el5042_PO2SO_config(ecx_contextt* ecx_context, uint16_t slave_id) { // Polynomial used for calculating checksum uint32_t checksum_polynomial = config->el5042.checksum_polynomial[ch]; if (!jsd_sdo_set_param_blocking(ecx_context, slave_id, sdo_channel_index, - 0x11, JSD_SDO_DATA_U8, &checksum_polynomial)) { + 0x11, JSD_SDO_DATA_U32, &checksum_polynomial)) { return 0; }