- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
In USBTV, i have confused in i2c_hw.c.
I can see that sub_type variable is in DBG of I2CWrite function but (sub_type!=0) syntex is not existed in DBG.
If i not use DBG, what have default value to sub_type variable?
Also , how should i understand this syntex?
Could you please let me know?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What did you mean by DBG? Are you referring to any particular example from Cypress?
Regards,
Gayathri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The DBG is define.
As you know, if you have that code, you already see it in code.
So i thnk DBG is just for test not usually.
When i compiling to make hex file, DBG is must defined.
If DBG have not defined in code, this project is not make compiling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I believe you are referring to some particular example and the terms from teh same. I am not able to understand the same. Please create a tech support case, so that one of our engineers can take a look at the example and assist you through the same.
Regards,
Gayathri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok thanks