RIS REC with purple led

This commit is contained in:
weiting2
2020-08-03 17:43:09 +08:00
parent f4861bb6cb
commit 226f38bbba
2 changed files with 4 additions and 4 deletions
@@ -543,6 +543,7 @@ static void headstage_update_ris_instruction(uint8_t ins_len, uint8_t* instructi
}
case NEU_REC_PARAM: {
headstage_led_color(COLOR_MAGENTA);
uint8_t vgrp = instruction[0] & 0x1F;
uint8_t vgrn = (instruction[1] & 0xF8) >> 3;
uint8_t vgr_int_old = ((instruction[1] & 0x07) << 2) | ((instruction[2] & 0xC0) >> 6);
@@ -868,7 +869,6 @@ static void headstage_update_cis_instruction(uint8_t cis_oper) {
//#endif
case CIS_VERSION:{
headstage_led_color(COLOR_MAGENTA);
cdr_buf[0] = VERSION_DATE_YEAR;
cdr_buf[1] = VERSION_DATE_MONTH;
cdr_buf[2] = VERSION_DATE_DAY;
@@ -5,12 +5,12 @@
#define VERSION_DATE_YEAR 20
#define VERSION_DATE_MONTH 8
#define VERSION_DATE_DAY 3
#define VERSION_DATE_HOUR 14
#define VERSION_DATE_MINUTE 4
#define VERSION_DATE_HOUR 17
#define VERSION_DATE_MINUTE 42
// this is NOT the version hash !!
// it's the last version hash
#define VERSION_HASH c29273f7e6a04abc5bf2972ff268af7545fb9c8b
#define VERSION_HASH f4861bb6cb427dcb36cb0cb6e8f1c962dbd89fa8
#define VERSION_GIT_BRANCH neulive20_linux_debug
static void get_board_name(char *board_name_ch, uint8 *board_name_int, uint8 name_size){