mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 09:38:37 +08:00
Fix a commented out assertion
This commit is contained in:
@@ -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? */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user