mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 08:43:34 +08:00
Fix a optimization related problem in the LM3S
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4907 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -2952,4 +2952,8 @@
|
||||
Xplorer board. This is just to facilitate testing of the LPC43xx
|
||||
port but will, with any luck, become proper board support for that
|
||||
board.
|
||||
* arch/arm/src/lm3s/lm3s_syscontrol.c: Fix an optimization related problem
|
||||
by adding a volatile qualifier to a timing loop. Oddly, the consequence
|
||||
of the bug is that when debug was off, the LM3S platform too a long time
|
||||
to boot. It now boots rapidly whether debug is on or off.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user