Sep 18, 2010
09:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 18, 2010
09:16 AM
Hi all,
I would like to use CyDelay() from a .c file in my project. So I #included CyLib.h. But this causes the error:
Error: L104 MULTIPLE PUBLIC DEFINITIONS
SYMBOL: P
MODULE: E:\Repositories\Parts\GPS_Tracker_2\GPS_Tracker_PSoC\GPS_Tracker_PSoC.cydsn\DP8051-Keil_Generic\Debug\GPS.OBJ (GPS)
DEFINED: E:\Repositories\Parts\GPS_Tracker_2\GPS_Tracker_PSoC\GPS_Tracker_PSoC.cydsn\DP8051-Keil_Generic\Debug\GM862GPS.OBJ (GM862GPS)
How can I use CyDelay() without causing this error?
Many thanks
Hugo
1 Reply
Dec 12, 2010
08:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 12, 2010
08:55 PM
Hi,
You don't need to add CyLib.h file in the main.c file for using the Delay function. You can use CyDelay() function where ever you want to use. If you are still getting any errors, Can you please attach your project file?
Regards,
Kishore.