]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cp210x/CP210XP.nc
Fix TMI copyright attributions
[tinyos-2.x.git] / tos / chips / cp210x / CP210XP.nc
index ce45bb57cc16b6abbaf7e1ef8356945f7cd04be6..3a8f2b85bd30a84daa7fa331d382bd11d0d2d657 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.
  */
+
 /**
  * HIL implementation for the CP210X USB/serial controller chip family.
- * 
- * @author R. Steve McKown <smckown@gmail.com>
+ *
+ * @author R. Steve McKown <rsmckown@gmail.com>
  */
+
 module CP210XP {
   provides {
     interface Init;
@@ -68,6 +68,8 @@ implementation {
 
   command error_t Init.init()
   {
+    call USB_SUSPENDn.makeInput();
+
     update();
     return SUCCESS;
   }
@@ -97,7 +99,7 @@ implementation {
   task void signalChange()
   {
     bool suspended;
-    
+
     atomic suspended = call USB_SUSPENDn.get();
     if (suspended)
       signal CP210X.suspended();