notify channel send correctly?
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@
|
||||
#define EVT_NEU_REG_SPI 0x0008 /** register spi event */
|
||||
|
||||
/** clock setting */
|
||||
#define NEU_SYS_CLK 2000000 /**< 10Mhz */
|
||||
#define NEU_SYS_CLK 4000000 /**< 10Mhz */
|
||||
#define NEU_POLY_R_CLK 1000 /**< 1khz */
|
||||
#define NEU_SPI_FREQ NEU_SYS_CLK/10 /**< 1Mhz */ // should be NEU_SYS_CLK/10
|
||||
#define NEU_LED_FREQ 1000000 /**< 1Mhz */
|
||||
|
||||
+1
@@ -48,6 +48,7 @@ static uint8_t headstage_notify_append_data(uint8_t *data_value) {
|
||||
}
|
||||
|
||||
headstage_notify_buffer[not_buf_offset++] = data_value[0];
|
||||
headstage_notify_buffer[not_buf_offset++] = 87;
|
||||
headstage_notify_buffer[not_buf_offset++] = data_value[1];
|
||||
headstage_notify_buffer[not_buf_offset++] = data_value[2];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user