mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
SAM3/4: Loop counter for PLL delay must be volatile or it may get optimized away
This commit is contained in:
@@ -195,6 +195,7 @@ static bool tsc_busy(FAR struct ads7843e_config_s *state)
|
||||
last = busy;
|
||||
}
|
||||
#endif
|
||||
|
||||
return busy;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user