Skip to content

Commit e923245

Browse files
authored
Merge pull request #1153 from pat-rogers/master
Add missing punctuation.
2 parents f0ba8b2 + f633a60 commit e923245

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/courses/ada-idioms/chapters/abstract_data_machines.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ mapped like so:
271271
Address => System.Storage_Elements.To_Address (16#FFC0_0801#);
272272
273273
Reading the value of the memory-mapped :ada:`Switch` variable provides the
274-
current switch value.
274+
rotary switch's current value.
275275

276276
However, on this target the memory at that address is read-only, and
277277
rightly so because the only way to change the value is to physically
@@ -280,7 +280,7 @@ Although doing so is a logical error no indication is provided by the
280280
hardware, which is potentially confusing to developers. It certainly
281281
looks like a variable, after all. Declaring it as a constant wouldn't
282282
suffice because the user could rotate the switch during
283-
execution
283+
execution.
284284

285285
Furthermore, although mapped as a byte, the physical switch has only 16 total
286286
positions, read as the values zero through fifteen. An unsigned byte has no

0 commit comments

Comments
 (0)