Fix a commented out assertion

This commit is contained in:
Gregory Nutt
2014-07-20 17:06:55 -06:00
parent 8b4d057b84
commit e202c8e9b2
+1 -3
View File
@@ -1267,9 +1267,7 @@ static void sam_eventtimeout(int argc, uint32_t arg)
struct sam_dev_s *priv = (struct sam_dev_s *)arg;
DEBUGASSERT(argc == 1 && priv != NULL);
/* This can, apparently, happen under certain race conditions */
/* DEBUGASSERT((priv->waitevents & SDIOWAIT_TIMEOUT) != 0); */
DEBUGASSERT((priv->waitevents & SDIOWAIT_TIMEOUT) == 0);
/* Is a data transfer complete event expected? */