- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My project works fine in debug mode, except when i do a mdoify on the "main" function.
Older "main" function:
int main(void)
{
BoardDriverInit();
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
//asr_at_commands(0);
application_start();
for(;;)
{
/* Place your application code here. */
}
}
when in debug mode, it appears:
Newer "main" function:
int main(void)
{
BoardDriverInit();
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
asr_at_commands(0);
//application_start();
for(;;)
{
/* Place your application code here. */
}
}
when in debug mode, it appears:
in summary, the total project is same except that there is a little change in "main" function, then in debug mode the behaviour is different and debug not start in main" function.
- Labels:
-
PSoC Creator Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Qipan,
Could you let us know more details about asr_at_commands(0);and //application_start();?
How about their declaration?
Also you can do a comparison of these two functions by yourself.
Thanks,
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is curious.
Try a clean and build