We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all, I defined a macro as
#define min(a,b) (((a) < (b)) ? (a) : (b))
xfr_cnt = min(to_xfer, secsize - boff);
xfr_cnt= ((to_xfer < (secsize - boff)) ? (to_xfer) : (secsize - boff));
It's okay if I write that as
xfr_cnt = min(to_xfer, (secsize - boff));
Did it give an error message?
No, it's a Windows XP error dialog box. I can continue, but seems the C file is not compiled anyway.
Best send a report to Keil in that case.