Skip to content

Commit 4eee9ab

Browse files
authored
Merge pull request #1867 from luzpaz/typos/hal
hal: fix various typos
2 parents feb8b23 + e8d3efe commit 4eee9ab

14 files changed

Lines changed: 15 additions & 15 deletions

File tree

src/hal/classicladder/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ For using Classic Ladder as it is, you need :
140140
* Linux
141141
* Gtk version 2
142142

143-
I personnaly used the following distribution : Mandriva 2006.
143+
I personally used the following distribution : Mandriva 2006.
144144

145145
In a console :
146146
type make if you want to recompile the sources.

src/hal/classicladder/classicladder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void display_help (void)
115115
" --nogui do not create a GUI, only load a configuration\n"
116116
" --config=filename initialize modbus master I/O & load config file-( deprecated- use --modmaster)\n"
117117
" --modmaster initialize modbus master I/O ( modbus config is loaded with other objects )\n"
118-
" --modslave initialize modbus slave I/O (TCP only- B and W variables accesable\n"
118+
" --modslave initialize modbus slave I/O (TCP only- B and W variables accessible\n"
119119
" --modbus_port=portnumber used for modbus slave using TCP ( ethernet )\n"
120120
" --debug sets the RTAPI debuglevel for printing debug messages\n"
121121
"Please also note that the classicladder realtime module must be loaded first\n"

src/hal/components/homecomp.comp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ static void custom_read_homing_in_pins(int njoints)
138138
addr = &(custom_joint_home_data->custom_jhd[jno]);
139139
customH[jno].request_custom_homing = *(addr->request_custom_homing); // IN
140140

141-
// echo for verificaion:
141+
// echo for verification:
142142
customH[jno].is_custom_homing = customH[jno].request_custom_homing;
143143
}
144144
}

src/hal/components/stepgen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
No step type uses all five, and only those which will be used are
6565
exported to HAL. The values of these parameters are in nano-seconds,
6666
so no recalculation is needed when changing thread periods. In
67-
the timing diagrams that follow, they are identfied by the
67+
the timing diagrams that follow, they are identified by the
6868
following numbers:
6969
7070
(1): 'stepgen.n.steplen' = length of the step pulse

src/hal/drivers/hal_ppmc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* optional DAC or digital outs installed.
2424
* timestamp works the same way, for UPC boards of rev 4
2525
* or higher that have the timestamp feature.
26-
* enc_clock specifes a 3-digit hex value, where the 1st is a
26+
* enc_clock specifies a 3-digit hex value, where the 1st is a
2727
* code of 1,2, 5 or 10 to indicate an encoder clock rate of 1, 2.5, 5 or 10 MHz.
2828
* The following 2 digits work as above, bus and board address.
2929
* Only rev 4 and above PPMC encoder boards have this clock select feature.
@@ -140,7 +140,7 @@ RTAPI_MP_ARRAY_INT(epp_dir, MAX_BUS, "EPP is commanded port direction");
140140
/* only available with rev 2 and above FPGA config */
141141
#define ENCLOAD 0x00 /* EPP address to write into first byte of preset */
142142
/* register for channels 0 - 3 */
143-
// following regs for new UPC with encoder count timesamp feature
143+
// following regs for new UPC with encoder count timestamp feature
144144
#define ENCTS 0x10 /* timestamp low byte for axis 0 */
145145
#define ENCTS1 0x11 /* timestamp high byte for axis 0 */
146146
#define ENCTB 0x18 /* timebase low byte */

src/hal/drivers/mesa-hostmot2/hostmot2-lowlevel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ struct hm2_lowlevel_io_struct {
8080
// examples), it is useful to divide the work of the bulk reads which occur
8181
// every servo cycle into up to three groups:
8282
// * queuing the reads -- the buffer must point to storage which is stable
83-
// thrugh the eventual receive_queued_reads call
83+
// through the eventual receive_queued_reads call
8484
// * actually requesting the queued reads
8585
// * actually receiving the read result and storing it in the buffer given in the
8686
// queue_read call

src/hal/hal_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static int init_hal_data(void);
108108
This is done to improve realtime performance. 'shmalloc_up()'
109109
is used to allocate data that will be accessed by realtime
110110
code, while 'shmalloc_dn()' is used to allocate the much
111-
larger structures that are accessed only occaisionally during
111+
larger structures that are accessed only occasionally during
112112
init. This groups all the realtime data together, improving
113113
cache performance.
114114
*/

src/hal/user_comps/mb2hal/mb2hal_HOWTO.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ MB_BYTE_TIMEOUT_MS=500
154154
#using the same name.
155155
HAL_TX_NAME=remoteIOcfg
156156

157-
#OPTIONAL: Maximum update rate in HZ. Defaults to 0.0 (0.0 = as soon as available = infinit).
157+
#OPTIONAL: Maximum update rate in HZ. Defaults to 0.0 (0.0 = as soon as available = infinite).
158158
#NOTE: This is a maximum rate and the actual rate may be lower.
159159
#If you want to calculate it in ms use (1000 / required_ms).
160160
#Example: 100 ms = MAX_UPDATE_RATE=10.0, because 1000.0 ms / 100.0 ms = 10.0 Hz

src/hal/user_comps/mb2hal/mb2hal_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ retCode parse_transaction_section(const int mb_tx_num)
290290
DBG(gbl.init_dbg, "[%s] [%s] [%d]", section, tag, this_mb_tx->mb_tx_nelem);
291291

292292
tag = "MAX_UPDATE_RATE"; //optional
293-
this_mb_tx->cfg_update_rate = 0; //default: 0=infinit
293+
this_mb_tx->cfg_update_rate = 0; //default: 0=infinite
294294
if (iniFindDouble(gbl.ini_file_ptr, tag, section, &this_mb_tx->cfg_update_rate) != 0) { //not found
295295
if (mb_tx_num > 0) { //previous value?
296296
if (strcasecmp(this_mb_tx->cfg_link_type_str, gbl.mb_tx[mb_tx_num-1].cfg_link_type_str) == 0) {

src/hal/user_comps/mitsub_vfd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1919

2020
# user space component for controlling a misubishi inverter over the serial port using rs485 standard
21-
# specifcally the A500 F500 E500 A500 D700 E700 F700 series - others may work or need adjustment
21+
# specifically the A500 F500 E500 A500 D700 E700 F700 series - others may work or need adjustment
2222
# tested on A500 E500 and E700
2323
# I referenced manual 'communication option reference manual' and A500 technical manual for 500 series.
2424
# 'Fr-A700 F700 E700 D700 technical manual' for the 700 series

0 commit comments

Comments
 (0)