call InterruptCCA.enableRisingEdge();
break;
}
}
}
Thank you all.
Ted Ward
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
I was just looking in the module CC2420TransmitP.nc and noticed the
starred line of code below. Is that supposed to be a single equals sign
or a double?
error_t resend( bool cca ) {
...
m_cca = cca;
** m_state = cca ? S_SAMPLE_CCA : S_BEGIN_TRANSMIT;
totalCcaChecks = 0;
If it
d to either 'S_SAMPLE_CCA' or 'S_BEGIN_TRANSMIT'
> depending on the truth value of the boolean variable 'cca'.
>
> You can refer to
>http://en.wikipedia.org/wiki/%3F:#Conditional_assignment.
>
>
> Vinai
> --
> Vinai Sundaram @ www.ece.purd
P at 2616 at
/usr/local/bin/tos-ramsize line 1347.
I also can't use objdump:
$ objdump -d build/micaz/main.exe
build/micaz/main.exe: file format elf32-little
objdump: can't disassemble for architecture UNKNOWN!
Ted Ward
___
Tinyos-hel