Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debbug to I/O Terminal of IAR will show wrong numbers ; String is OK #47

Open
Armin-Ka opened this issue Jan 26, 2022 · 0 comments
Open

Comments

@Armin-Ka
Copy link

Hello,
i try to Debbug with the SmartRF04B Programmer/Debugger in IAR I/O Terminal. The Source is allready Prepared for this possibility.
I will See the published Strings,which will be OK. But if there are Numbers they will be wrong:
e.g. in File zcl_app.c Function zclApp_ReadSensors

LREP("currentSensorsReadingPhase %d\r\n", currentSensorsReadingPhase);  ---> will show: currentSensorsReadingPhase 1233

I add a Line after the Above One
printf("currentSensorsReadingPhase %d \r\n",currentSensorsReadingPhase); ----> will show: currentSensorsReadingPhase 0

I do not understand this issue. Please Help.
Thanks in advance
Armin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant