X-Git-Url: https://rtime.felk.cvut.cz/gitweb/fpga/rpi-motor-control.git/blobdiff_plain/06b1a193c87d7055643e48b1bd56f59c8e7fa519..f8c0bc5de5211c44f8a9c97ef9dfbdf99644be5d:/pmsm-control/test_sw/rp_spi.h diff --git a/pmsm-control/test_sw/rp_spi.h b/pmsm-control/test_sw/rp_spi.h index a5cc719..999d7b3 100644 --- a/pmsm-control/test_sw/rp_spi.h +++ b/pmsm-control/test_sw/rp_spi.h @@ -9,7 +9,7 @@ */ struct rpi_in{ uint64_t pozice; /*use twice the origin size to avoid underflow when sunstracting offset*/ - uint16_t ch0, ch1, ch2; + uint32_t ch0, ch1, ch2; int8_t hal1,hal2,hal3; /* bool values */ int8_t en1, en2, en3; /*(bool)last read pwm-enable values - !they are changed after reading ! */ int8_t shdn1,shdn2,shdn3; /*(bool)last read shutdown values - !they are changed after reading ! */