* interface. Basically, frames are formatted with 4 words of 16 bits,
* describing the values of the 4 encoders. */
+#ifndef HOST_VERSION
+
#include <string.h>
#include <aversive.h>
#include <encoders_spi_config.h>
static int32_t g_encoders_spi_values[ENCODERS_SPI_NUMBER];
-static int16_t g_encoders_spi_previous[ENCODERS_SPI_NUMBER];
+/* static */int16_t g_encoders_spi_previous[ENCODERS_SPI_NUMBER];
/* Initialisation of encoders, variables */
g_encoders_spi_values[(int)encoder] = val;
IRQ_UNLOCK(flags);
}
+
+#endif