]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/sensorboards/mts300/Mag.nc
fix compile time warning
[tinyos-2.x.git] / tos / sensorboards / mts300 / Mag.nc
index 08ac3afeb58e75db085add3e3e9c29eddb22b875..db3b0c20893dda4c89b15e6bbbf41486c08beb77 100644 (file)
@@ -60,12 +60,10 @@ interface Mag {
   command error_t gainAdjustY(uint8_t val);
 
   /* Pot adjustment on the X axis of the magnetometer is finished.
-   * Returns:  return SUCCESS.
    */
-  event error_t gainAdjustXDone(bool result);
+  event void gainAdjustXDone(error_t result);
 
   /* Pot adjustment on the Y axis of the magnetometer is finished.
-   * Returns:  return SUCCESS.
    */
-  event error_t gainAdjustYDone(bool result);
+  event void gainAdjustYDone(error_t result);
 }