Debuggin the docs.....

New to XMOS and XCore? Get started here.
Post Reply
User avatar
In_Control001
Member++
Posts: 20
Joined: Thu Mar 04, 2010 7:27 pm

Debuggin the docs.....

Post by In_Control001 »

Code: Select all

voidswap(int&x,int&y){
inttmp=x;
x=y;
y=x;
}
intmain(void){
inta=1;
intb=2;
swap(a,b);
}
Maybe need to change this too in the userXC doc.... :oops:


User avatar
skoe
Experienced Member
Posts: 94
Joined: Tue Apr 27, 2010 10:55 pm
Contact:

Post by skoe »

Okay, another rather unimportant remark: In the header files the value is called XS1_SETC_COND_AFTER, in the architecture manual it's called CTRL_COND_AFTER (just an example). A bit more consistency could save some time ;)
Post Reply