]> rtime.felk.cvut.cz Git - fpga/rpi-motor-control.git/blobdiff - pmsm-control/test_sw/rp_spi.h
Added speed computation.
[fpga/rpi-motor-control.git] / pmsm-control / test_sw / rp_spi.h
index 28de88db6302f5f4ddbae997566a64993a664f15..1be10b92d486d1c8c8e1280de725769bf2d38ce4 100644 (file)
@@ -9,7 +9,7 @@
  * \brief Struktura pro prichozi data z fpga.
  */
 struct rpi_in{
  * \brief Struktura pro prichozi data z fpga.
  */
 struct rpi_in{
-       uint32_t pozice;                /*continue with normal size and test it..*/
+       signed long int pozice;         /*continue with normal size and test it..*/
        uint32_t pozice_raw;            /*with offset*/
        uint32_t ch0, ch1, ch2;
        int8_t hal1,hal2,hal3;          /* bool values */
        uint32_t pozice_raw;            /*with offset*/
        uint32_t ch0, ch1, ch2;
        int8_t hal1,hal2,hal3;          /* bool values */