|
|
|
@ -1684,7 +1684,7 @@ const char* Copter::get_sysid_board_id(void)
@@ -1684,7 +1684,7 @@ const char* Copter::get_sysid_board_id(void)
|
|
|
|
|
int32_t nameValue2 = (int32_t)g.sysid_board_name_2nd; |
|
|
|
|
// int8_t type = g.sysid_type;
|
|
|
|
|
int8_t type; |
|
|
|
|
if(g.sysid_type < 6){ |
|
|
|
|
if(g.sysid_type == 0){ |
|
|
|
|
type = ZR_FRAME_TYPE; |
|
|
|
|
}else{ |
|
|
|
|
type = g.sysid_type; |
|
|
|
@ -1724,6 +1724,9 @@ const char* Copter::get_sysid_board_id(void)
@@ -1724,6 +1724,9 @@ const char* Copter::get_sysid_board_id(void)
|
|
|
|
|
case 10: |
|
|
|
|
snprintf(buf, sizeof(buf), "Version: zr-v%u.%u.%u ,ID: ZRZK.19QT2.%d",AP::fwversion().major,AP::fwversion().minor,AP::fwversion().patch,(int)nameValue2); |
|
|
|
|
break; |
|
|
|
|
case 11: |
|
|
|
|
snprintf(buf, sizeof(buf), "Version: zr-v%u.%u.%u ,ID: RF610%04d%05d",AP::fwversion().major,AP::fwversion().minor,AP::fwversion().patch,(int)nameValue1,(int)nameValue2); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|