File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,11 +47,11 @@ void display_init(void)
4747 lcdc .Instance = LCDC1 ;
4848 memcpy (& lcdc .Init , & lcdc_int_cfg , sizeof (LCDC_InitTypeDef ));
4949 HAL_LCDC_Init (& lcdc );
50-
50+ s_dma_update_in_progress_semaphore = xSemaphoreCreateBinary ();
5151 BSP_LCD_Reset (0 );//Reset LCD
5252 HAL_Delay_us (10 );
5353 BSP_LCD_Reset (1 );
54- PBL_LOG (LOG_LEVEL_ALWAYS , "jdi display_init ok.\n " );
54+ PBL_LOG (LOG_LEVEL_INFO , "JDI display_init ok." );
5555}
5656
5757uint32_t display_baud_rate_change (uint32_t new_frequency_hz )
Original file line number Diff line number Diff line change @@ -568,16 +568,16 @@ int adc_init(void)
568568 }
569569 else
570570 {
571- PBL_LOG (LOG_LEVEL_ERROR ,"Get ADC configure fail\n " );
571+ PBL_LOG (LOG_LEVEL_ERROR ,"Get ADC configure fail" );
572572 ret = -1 ;
573573 }
574574 }
575575
576576exit :
577577 if (ret < 0 )
578- PBL_LOG (LOG_LEVEL_ALWAYS ,"adc init fail!" );
578+ PBL_LOG (LOG_LEVEL_ALWAYS ,"ADC init fail!" );
579579 else
580- PBL_LOG (LOG_LEVEL_ALWAYS ,"adc init ok!" );
580+ PBL_LOG (LOG_LEVEL_ALWAYS ,"ADC init ok!" );
581581 return ret ;
582582
583583}
You can’t perform that action at this time.
0 commit comments