A270S版本路测100km差1.2km-V0.10版本

This commit is contained in:
2025-03-26 08:32:48 +08:00
parent 157c3dabe4
commit 497f8eb1e1
31 changed files with 58890 additions and 56625 deletions

View File

@ -263,9 +263,9 @@
#ifdef WIFI_SUPPORT
#define CARLINK_EY 0
#define CARLINK_EC 1
#define CARLINK_CP 0
#define CARLINK_AA 0
#define CARLINK_EC 0
#define CARLINK_CP 1
#define CARLINK_AA 1
#if !DEVICE_MXC_A27
#define WIFI_RESET_IO 12
@ -387,7 +387,7 @@
#define ANIMATION_NONE 0
#define ANIMATION_USE_SMALL_MEM 1
#define ANIMATION_NORMAL 2
#define ANIMATION_POLICY ANIMATION_NORMAL
#define ANIMATION_POLICY ANIMATION_NONE//ANIMATION_NORMAL
/*********************************************/
/************ flash type configuration ************/

View File

@ -298,7 +298,7 @@ void mipi_disp_test(void)
#ifdef PLAY_SHUTDOWN_ANIMATION
static int shutdown_anim = 0;
#endif
uint8_t power=1;
static void animation_thread(void *param)
{
MFCHandle *mfc_handle = NULL;
@ -309,7 +309,7 @@ static void animation_thread(void *param)
uint32_t stick, etick, delaytick;
uint32_t display_addr;
uint32_t *tmp_addr = NULL;
uint8_t power=1;
anioffset = GetUpFileOffset(MKTAG('B', 'A', 'N', 'I'));
anisize = GetUpFileSize(MKTAG('B', 'A', 'N', 'I'));
@ -651,3 +651,12 @@ int get_animation_status(void)
{
return ani_playing;
}
void anim_close_lcd_open(void){
if(!power)
return;
ark_lcd_osd_enable(LCD_VIDEO_LAYER, 0);
ark_lcd_osd_enable(LCD_UI_LAYER, 1);
power=0;
}

View File

@ -460,9 +460,9 @@ int rtc_init(void)
alarm_irq_enable(0);
rtc_read_time(&tm);
if (tm.tm_year == 70) {
rtc_set_time(&default_tm);
}
// if (tm.tm_year == 70) {
// rtc_set_time(&default_tm);
// }
return 0;
}

View File

@ -1071,7 +1071,7 @@ static void uart_rx_demo_thread(void *param)
}
printf("\r\n");
if((0x01 == len) && (0x00 == uartrx[0])) break;
if((0x01 == len) && (0x00 == uartrx[0])) continue;
memcpy((cmdstr+cmdlen), uartrx, len);
cmdlen += len;