Skip to content

Commit eef6bad

Browse files
committed
2.9: typos, punctuation in comments
1 parent ef5947d commit eef6bad

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

docs/src/drivers/mesa_modbus.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,7 @@ Tx+ to Rx+ and Tx- to Rx-.
327327

328328
Note that there are differing naming standards for Modbus pins.
329329
Typically Rx+ and TX+ will connect to the B- pin on the modbus device
330-
and Rx- and Tx- will connect to the A+ pin. (ie, +/- will appear
331-
reversed.
330+
and Rx- and Tx- will connect to the A+ pin, i.e., +/- will appear reversed.
332331

333332

334333
=== Ad-hoc Modbus device access ===

docs/src/hal/halui-examples.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ HALUI = halui
2323

2424
To connect a remote program start button to LinuxCNC you use the
2525
`halui.program.run` pin and the `halui.mode.auto` pin.
26-
You have to insure that it is OK to run first by using the
26+
You have to ensure that it is OK to run first by using the
2727
`halui.mode.is-auto` pin. You do this with an `and2`
2828
component. The following figure shows how this is done.
2929
When the Remote Run Button is pressed it is connected to

src/hal/drivers/mesa-hostmot2/hm2_pci.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ static int hm2_plx9054_reset(hm2_lowlevel_io_t *this) {
394394
control = status | DONE_ENABLE_5I22 | _PROG_ENABLE_5I22;
395395
rtapi_outl(control, board->ctrl_base_addr + CTRL_STAT_OFFSET_5I22);
396396

397-
// Turn off /PROGRAM bit and insure that DONE isn't asserted
397+
// Turn off /PROGRAM bit and ensure that DONE is not asserted
398398
rtapi_outl(control & ~_PROGRAM_MASK_5I22, board->ctrl_base_addr + CTRL_STAT_OFFSET_5I22);
399399

400400
status = rtapi_inl(board->ctrl_base_addr + CTRL_STAT_OFFSET_5I22);
@@ -411,7 +411,7 @@ static int hm2_plx9054_reset(hm2_lowlevel_io_t *this) {
411411

412412
// Delay for at least 100 uS. to allow the FPGA to finish its reset
413413
// sequencing. 3300 reads is at least 100 us, could be as long as a
414-
// few ms
414+
// few ms.
415415
for (i = 0; i < 3300; i++) {
416416
status = rtapi_inl(board->ctrl_base_addr + CTRL_STAT_OFFSET);
417417
}

0 commit comments

Comments
 (0)