Hello, > warning: `Read.readDone' called asynchronously from > `I2CBasicAddr.writeDone'
One fix would be to call a task from the I2CBasicAddr.writeDone to signal the Read.readDone event, instead of how it is actually done. > warning: non-atomic accesses to shared variable `temp': > warning: non-atomic read Declare temp as norace and/or use atomic to prevent race conditions. I'm guessing is the tmp102 sensor, so I will correct both of these. Thanks! Antonio. > Could anybody please tell me how to get rid of those warnings or how > to atomicly access a shared variable? > > Thanks in advance! > > Best regards, > Qian > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
