Skip to content

Commit 6d46b78

Browse files
committedJan 30, 2018
Fixing typos in comments.
1 parent 70ef546 commit 6d46b78

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed
 

‎src/cortexM4/PendSV.s

+6-4
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,11 @@ PendSV_Handler:
9595
*
9696
* System code, and initialization code (first call to schedule())
9797
* use the master stack (MSP), while tasks use the alternative
98-
* stack (PSP). That is done by checking the fourth bit of the
99-
* return value of the exception, which can be found on the LR
100-
* register.
98+
* stack (PSP).
99+
*
100+
* Determining the active stack is done by checking the fourth bit
101+
* of the return value of the exception, which can be found on the
102+
* LR register.
101103
*
102104
* Since the PendSV exception is the lowest level interrupt that
103105
* can be invoked, the MSR stack is only used when it is invoked
@@ -138,7 +140,7 @@ PendSV_Handler:
138140
* If the MSP stack is in use, update the MSP register value.
139141
*
140142
* FIXME I suspect this is not needed, since all of the possible
141-
* use cases for this are probaly safe anyway without performing
143+
* use cases for this are probably safe anyway without performing
142144
* this update.
143145
*/
144146

0 commit comments

Comments
 (0)
Please sign in to comment.