⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ap_common.lst

📁 智原mp3 SDK 开发包 与巨力 有mp3 wma ogg decoder
💻 LST
字号:
C51 COMPILER V7.09   AP_COMMON                                                             05/22/2008 10:13:56 PAGE 1   


C51 COMPILER V7.09, COMPILATION OF MODULE AP_COMMON
OBJECT MODULE PLACED IN ..\output\ap_common.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE ..\src\ap_common.c LARGE OPTIMIZE(9,SIZE) BROWSE INCDIR(..\..\..\bsp\includ
                    -e;..\src\include;..\..\include) DEFINE(CONFIG_ASIC) DEBUG OBJECTEXTEND PRINT(.\ap_common.lst) OBJECT(..\output\ap_common
                    -.obj)

line level    source

   1          /****************************
   2           *   ap_common.c
   3           ****************************/
   4          
   5          #include <string.h>
   6          #include "api.h"
*** WARNING C318 IN LINE 6 OF ..\src\ap_common.c: can't open file 'api.h'
   7          #include "lcd.h"
*** ERROR C129 IN LINE 102 OF ..\..\INCLUDE\LCD.H: missing ';' before 'lcd_max_str'
   8          #include "common.h"
*** WARNING C318 IN LINE 5 OF ..\..\INCLUDE\COMMON.H: can't open file 'types.h'
   9          #include "display.h"
*** WARNING C318 IN LINE 4 OF ..\..\INCLUDE\DISPLAY.H: can't open file 'types.h'
  10          //#include "lrc_parse.h"
  11          #include "ap_common.h" 
  12          #include "ui_menu.h"
  13          #include "ui_pop_up_list.h"
  14          #include "ui_slider.h"
  15          #include "usb_main.h"
  16          #include "gui_main.h"
  17           
  18          SCREEN code * xdata curr_screen; 
  19           
  20          SCREEN code screen_table[] = {
  21                  {SCREEN_MAIN, screen_mainmenu_init, screen_mainmenu},
  22                  //{SCREEN_USB, screen_usb_init, screen_usb},
  23          };
  24          
  25          void screen_map(UINT8 sid)
  26          {
  27                  curr_screen = (SCREEN code *)&screen_table[sid];
  28                  
  29                  if(curr_screen->init)
  30                          curr_screen->init();
  31          }
  32          
  33          void gui_init(void)
  34          {
  35                  fg_color = COLOR_WHITE;
  36                  bg_color = COLOR_WHITE;
  37          //      gfx_set_bg(COLOR_WHITE);
  38                  
  39                  lcd_max_str = 0xFF;
  40          }
  41          
  42          BOOLEAN find_good_media(INT8 offset, SELECT_OPTION opt)
  43          {
  44          #if 0
                      INT8 dir;
                      UINT16 file;
                      BOOLEAN select_ok = false;
                      
                      if(api_bSelectFile(offset, opt) && api_bGetSelectFileInfo(&curr_finfo)) {
C51 COMPILER V7.09   AP_COMMON                                                             05/22/2008 10:13:56 PAGE 2   

                              if(api_bSelectFileOpen()) {
                                      if((curr_finfo.emedia != MEDIA_MUSIC && curr_finfo.emedia != MEDIA_AVM) || 
                                         api_bGetCurrMusicInfo(&curr_music))
                                              select_ok = true;
                              }
                      }
                      
                      /* Select failed. We need to scan again. */
                      if(!select_ok) {
                              dir = (offset < 0 ? -1 : 1);
                              file = 0;
                              while(1) {
                                      if(++file == totfile)
                                              return false;
                                      if(api_bSelectFile(dir, SELECT_CUR) && api_bGetSelectFileInfo(&curr_finfo)) {
                                              if(api_bSelectFileOpen()) {
                                                      if((curr_finfo.emedia != MEDIA_MUSIC && curr_finfo.emedia != MEDIA_AVM) || 
                                                          api_bGetCurrMusicInfo(&curr_music))
                                                              break;
                                              }
                                      }
                              }
                      }
              #endif  
  74                  return true;
  75          }
  76          
  77                                  

C51 COMPILATION COMPLETE.  3 WARNING(S),  1 ERROR(S)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -