From f633a60d71f7f5cf7397db736692a6372af22e15 Mon Sep 17 00:00:00 2001 From: Pat Rogers Date: Mon, 23 Dec 2024 09:34:42 -0600 Subject: [PATCH] Add missing punctuation. Minor wordsmithing of one sentence. --- .../courses/ada-idioms/chapters/abstract_data_machines.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/courses/ada-idioms/chapters/abstract_data_machines.rst b/content/courses/ada-idioms/chapters/abstract_data_machines.rst index a6831c72b..0668a78cf 100644 --- a/content/courses/ada-idioms/chapters/abstract_data_machines.rst +++ b/content/courses/ada-idioms/chapters/abstract_data_machines.rst @@ -271,7 +271,7 @@ mapped like so: Address => System.Storage_Elements.To_Address (16#FFC0_0801#); Reading the value of the memory-mapped :ada:`Switch` variable provides the -current switch value. +rotary switch's current value. However, on this target the memory at that address is read-only, and 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 hardware, which is potentially confusing to developers. It certainly looks like a variable, after all. Declaring it as a constant wouldn't suffice because the user could rotate the switch during -execution +execution. Furthermore, although mapped as a byte, the physical switch has only 16 total positions, read as the values zero through fifteen. An unsigned byte has no