File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/courses/ada-idioms/chapters Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
276276However, on this target the memory at that address is read-only, and
277277rightly 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
280280hardware, which is potentially confusing to developers. It certainly
281281looks like a variable, after all. Declaring it as a constant wouldn't
282282suffice because the user could rotate the switch during
283- execution
283+ execution.
284284
285285Furthermore, although mapped as a byte, the physical switch has only 16 total
286286positions, read as the values zero through fifteen. An unsigned byte has no
You can’t perform that action at this time.
0 commit comments