求助!程式compiler問題
|
||||
---|---|---|---|---|
新會員
|
PFCproject.c:23: warning: implicit declaration of function 'InitOutputCompare1'
--------------------------------------------------------------- PFCproject.o(.text+0x0): In function `main': --------------------------------------------------------------- C:\Program Files\Microchip\PFCproject.c:20: multiple definition of `main' ---------------------------------------------------------------- PFCproject.o(.text+0x0):C:\Program Files\Microchip\PFCproject.c:20: first defined here ----------------------------------------------------------------- PFCproject.o(.text+0x1e): In function `Delay': ----------------------------------------------------------------- PFCproject.o(.ndata+0x0):C:\Program Files\Microchip\PFCproject.c: multiple definition of `PowerOnDelay' ------------------------------------------------------------------ PFCproject.o(.ndata+0x0):C:\Program Files\Microchip\PFCproject.c: first defined here ------------------------------------------------------------------- 以上是我參考"AN1106"PFC應用文章程式,將30F6010A的程式改寫到30F2020,並在除錯時顯示的錯誤訊息,請教高手是哪裡的程式出了問題? 我在想是否為設定OC1為輸出時,中斷的優先順序的問題, 因原始文件6010A設定的輸出比較是OC6?還是30F2020的程式記憶體不足?
發表於: 2009/3/28 1:14
|
|||
|