Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 014a5ac628 | |||
| bf672b2632 |
+6
-1
@@ -23,7 +23,12 @@ static uint16_t UserCode2StiCode(uint16_t amp, uint8_t positive_ch){
|
||||
sti_code = StiCaliTable.n_ch.coefficient * real_amp + StiCaliTable.n_ch.offset;
|
||||
}
|
||||
|
||||
sti_code = sti_code / 10000;
|
||||
sti_code = (sti_code + 5000) / 10000;
|
||||
|
||||
if(sti_code < 1){
|
||||
sti_code = 1;
|
||||
}
|
||||
|
||||
return (uint16_t) (sti_code);
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -3,15 +3,15 @@
|
||||
#define VERSION_DATE
|
||||
|
||||
#define VERSION_DATE_YEAR 20
|
||||
#define VERSION_DATE_MONTH 7
|
||||
#define VERSION_DATE_DAY 20
|
||||
#define VERSION_DATE_HOUR 17
|
||||
#define VERSION_DATE_MINUTE 48
|
||||
#define VERSION_DATE_MONTH 11
|
||||
#define VERSION_DATE_DAY 19
|
||||
#define VERSION_DATE_HOUR 18
|
||||
#define VERSION_DATE_MINUTE 32
|
||||
|
||||
// this is NOT the version hash !!
|
||||
// it's the last version hash
|
||||
#define VERSION_HASH 81d5d86890d1da5dfb3ccc7e1756261c3ecbf485
|
||||
#define VERSION_GIT_BRANCH Neulive20_developement_linux
|
||||
#define VERSION_HASH bf672b26327776ad4612260ce8713ba917411a7d
|
||||
#define VERSION_GIT_BRANCH Neulive20_hostTest
|
||||
|
||||
static void get_board_name(char *board_name_ch, uint8 *board_name_int, uint8 name_size){
|
||||
uint8 name_offset = 18;
|
||||
|
||||
Reference in New Issue
Block a user