X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fcp210x%2FCP210XP.nc;h=3060880ba12d0243b1940db8fe67770f6a3176a1;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=17908a12c2a3c9003876608c44210f64b61128e8;hpb=fb772a913b5de299a1f896f0c1b168136bb9c6e6;p=tinyos-2.x.git diff --git a/tos/chips/cp210x/CP210XP.nc b/tos/chips/cp210x/CP210XP.nc index 17908a12..3060880b 100644 --- a/tos/chips/cp210x/CP210XP.nc +++ b/tos/chips/cp210x/CP210XP.nc @@ -26,13 +26,13 @@ * (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 + * + * @author R. Steve McKown */ - + module CP210XP { provides { interface Init; @@ -99,7 +99,7 @@ implementation { task void signalChange() { bool suspended; - + atomic suspended = call USB_SUSPENDn.get(); if (suspended) signal CP210X.suspended();