Hi to all, I have a problem on the development of a program written in nesC
for the platform telosB:
nx_uint16_t x [rows] [columns];
event void Timer.fired ( )
{ ...
result = call NeuralNet.SimulaNN (x);
...
}
The method SimulaNN is defined in the NeuralNet interface in this way:
interface NeuralNet
{ command uint16_t SimulaNN (nx_uint16_t** );
}
Finally the component that defined this interface writes the method in this
way:
command uint16_t NeuralNetEnea.SimulaNN (nx_uint16_t** N)
{ ... }
The types seem to be compatible, but the compiler gives me the following
warning:
Component.nc: In function `Timer.fired':
Component.nc:141: warning: passing argument 1 of `NeuralNet.SimulaNN' from
incompatible pointer type
Component.nc: In function `Component$Timer$fired':
Component.nc:141: warning: passing arg 1 of `Component$NeuralNet$SimulaNN'
from incompatible pointer type
why?
Thank you for your attention
Claudio
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Polizza auto?
Garanzia furto e incendio per un anno al vantaggioso prezzo di 30 euro tasse
incluse!
Scopri subito l'offerta!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=8425&d=20081127
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help