cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Gloria_gao
Participant
Participant
276 Views
Registered: ‎11-15-2020

XIicPs_CfgInitialize() and relative functions

Jump to solution

When I use the functions contained in xiicps.h, I find something wired...

When I use <if (status!=XST_SUCCESS....> The programm is fine.

However, when I use <if (status=XST_Failure....> The programm failed.

I think they are same...why the outcomes are different?

3.png

0 Kudos
1 Solution

Accepted Solutions
Rmccarty
Adventurer
Adventurer
264 Views
Registered: ‎09-05-2020
Use == not = in the if statements.

View solution in original post

2 Replies
Rmccarty
Adventurer
Adventurer
265 Views
Registered: ‎09-05-2020
Use == not = in the if statements.

View solution in original post

Gloria_gao
Participant
Participant
257 Views
Registered: ‎11-15-2020

OMG....

Thank you!

0 Kudos