]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/usci/Msp430UsciIntDispatchP.nc
Fix TMI copyright attributions
[tinyos-2.x.git] / tos / chips / msp430 / usci / Msp430UsciIntDispatchP.nc
index 30dcff6d5f371647b34fec58cca18597e59d502f..cf676dfdbc1cd8a237501966f32e0f0513b884fa 100644 (file)
@@ -10,7 +10,7 @@
  * - Redistributions in binary form must reproduce the above copyright
  *   notice, this list of conditions and the following disclaimer in the
  *   documentation and/or other materials provided with the distribution.
- * - Neither the name of the Technische Universität Berlin nor the names
+ * - Neither the name of the Titanium Mirror, Inc. nor the names
  *   of its contributors may be used to endorse or promote products derived
  *   from this software without specific prior written permission.
  *
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
 /**
  * Interrupt dispatch for USCI_Ax and USCI_Bx devices.
- * 
+ *
  * @author R. Steve McKown <rsmckown@gmail.com>
  */
+
 generic module Msp430UsciIntDispatchP() @safe() {
   provides interface HplMsp430UsciInt as Interrupts[uint8_t id];
   uses {
@@ -66,10 +66,10 @@ implementation {
       signal Interrupts.i2cCal[call ArbiterInfo.userId()]();
   }
 
-  async event void RawInt.i2cNak()
+  async event void RawInt.i2cNack()
   {
     if (call ArbiterInfo.inUse())
-      signal Interrupts.i2cNak[call ArbiterInfo.userId()]();
+      signal Interrupts.i2cNack[call ArbiterInfo.userId()]();
   }
 
   async event void RawInt.i2cStart()
@@ -88,7 +88,7 @@ implementation {
   default async event void Interrupts.rx[uint8_t id](uint8_t byte) {}
   default async event void Interrupts.tx[uint8_t id]() {}
   default async event void Interrupts.i2cCal[uint8_t id]() {}
-  default async event void Interrupts.i2cNak[uint8_t id]() {}
+  default async event void Interrupts.i2cNack[uint8_t id]() {}
   default async event void Interrupts.i2cStart[uint8_t id]() {}
   default async event void Interrupts.i2cStop[uint8_t id]() {}
 }