docs: fix spelling errors

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Fathi Boudra
2016-04-07 12:22:52 +03:00
committed by Mihai Tudor Panu
parent c7b5204fe4
commit dc8be495a9
29 changed files with 37 additions and 37 deletions

View File

@ -113,7 +113,7 @@ namespace upm {
/**
* Set the zero point. This is the point measured and averaged
* when the sensor is not moving. It is set at construction time
* (averaged over a number of samples), but can be overriden here.
* (averaged over a number of samples), but can be overridden here.
*
* @param zeroPoint The averaged zero point of the sensor at rest
*/

View File

@ -62,7 +62,7 @@ class APA102
*
* @param ledCount Number of APA102 leds in the strip
* @param spiBus SPI Bus number
* @param batchMode (optional) Immediatly write to SPI (false, default) or wait for a pushState
* @param batchMode (optional) Immediately write to SPI (false, default) or wait for a pushState
* call (true)
* @param csn (optional) Chip Select Pin
*/

View File

@ -522,7 +522,7 @@ namespace upm {
/**
* Sets up the interrupt 1 threshold register
*
* @param val Threshhold to set
* @param val Threshold to set
* @return True if successful
*/
bool setInterrupt1Threshold(uint8_t val);
@ -530,7 +530,7 @@ namespace upm {
/**
* Sets up the interrupt 2 threshold register
*
* @param val Threshhold to set
* @param val Threshold to set
* @return True if successful
*/
bool setInterrupt2Threshold(uint8_t val);

View File

@ -851,7 +851,7 @@ namespace upm {
/**
* enable I2C Bypass. Enabling this feature allows devices on the
* MPU60X0 auxillary I2C bus to be visible on the MCU's I2C bus.
* MPU60X0 auxiliary I2C bus to be visible on the MCU's I2C bus.
*
* @param enable true to I2C bypass
* @return true if successful, false otherwise

View File

@ -177,8 +177,8 @@ namespace upm {
/**
* Set the driection mode (input or output) for all gpios enabled
* by gpioSetIOMask(). A 0 in a given bit postion (LSB = gpio0)
* configures the gpio as an ouput, and a 1 bit configures the
* by gpioSetIOMask(). A 0 in a given bit position (LSB = gpio0)
* configures the gpio as an output, and a 1 bit configures the
* gpio as an input. Only the gpios enabled by gpioSetMask() are
* affected by this call.
*
@ -211,7 +211,7 @@ namespace upm {
/**
* Read the raw analog input value present at the given gpio and
* return the coresponding voltage value at the pin. The gpio is
* return the corresponding voltage value at the pin. The gpio is
* switched to analog input mode by this call, regardless of any
* previous mode. The returned value will be a number between
* 0.0-3.3, depending on the voltage present at the pin. Only the

View File

@ -371,17 +371,17 @@ void hal_aci_tl_init(aci_pins_t *a_pins, bool debug)
error = mraa_gpio_dir (a_pins->m_rdy_ctx, MRAA_GPIO_IN);
if (error != MRAA_SUCCESS) {
printf ("[ERROR] GPIO failed to initilize \n");
printf ("[ERROR] GPIO failed to initialize \n");
}
error = mraa_gpio_dir (a_pins->m_req_ctx, MRAA_GPIO_OUT);
if (error != MRAA_SUCCESS) {
printf ("[ERROR] GPIO failed to initilize \n");
printf ("[ERROR] GPIO failed to initialize \n");
}
error = mraa_gpio_dir (a_pins->m_rst_ctx, MRAA_GPIO_OUT);
if (error != MRAA_SUCCESS) {
printf ("[ERROR] GPIO failed to initilize \n");
printf ("[ERROR] GPIO failed to initialize \n");
}
if (UNUSED != a_pins->active_pin) {

View File

@ -398,7 +398,7 @@ namespace upm {
* library. Most modern devices are never polled, rather they are
* configured to report changing values to the controller on their
* own at device specific intervals or when appropriate events
* (depending the device) have occured.
* (depending the device) have occurred.
*
* @param nodeId The node ID
* @param index The value index (see dumpNodes()) of the value to query.

View File

@ -192,8 +192,8 @@ uint32_t PN532::getFirmwareVersion()
@param cmdlen The size of the command in bytes
@param timeout timeout before giving up
@returns 1 if everything is OK, 0 if timeout occured before an
ACK was recieved
@returns 1 if everything is OK, 0 if timeout occurred before an
ACK was received
*/
/**************************************************************************/
// default timeout of one second

View File

@ -232,8 +232,8 @@ namespace upm {
* @param cmdlen the size of the command in bytes
* @param timeout timeout before giving up (in ms)
*
* @return true if everything is OK, false if timeout occured
* before an ACK was recieved
* @return true if everything is OK, false if timeout occurred
* before an ACK was received
*/
bool sendCommandCheckAck(uint8_t *cmd, uint8_t cmdlen,
uint16_t timeout=1000);

View File

@ -189,7 +189,7 @@ mraa::Result SI1132::runCommand(uint8_t command)
}
if (response == 0) {
status = mraa::ERROR_UNSPECIFIED;
fprintf(stderr, "Comand %d failed\n", command);
fprintf(stderr, "Command %d failed\n", command);
}
return status;
}

View File

@ -397,7 +397,7 @@ SmartDrive::GetMotorStatus(int motor_id) {
if (motor_id == SmartDrive_Motor_ID_2)
status = readByte(SmartDrive_STATUS_M1);
if (motor_id == SmartDrive_Motor_ID_BOTH) {
std::cout << "Please specifiy which motor's status you want to fetch !" << std::endl;
std::cout << "Please specify which motor's status you want to fetch !" << std::endl;
}
return status;
}
@ -425,6 +425,6 @@ SmartDrive::PrintMotorStatus(int motor_id) {
std::cout << "Motor " << motor_id+1 << " is " << ((is_stalled == 0) ? "NOT" : "") << " stalled" << std::endl;
} else {
std::cout << "Please specifiy which motor's status you want to fetch !" << std::endl;
std::cout << "Please specify which motor's status you want to fetch !" << std::endl;
}
}

View File

@ -1740,7 +1740,7 @@ namespace upm {
* FSK : N/A ( set to 0 )
* LoRa: timeout in symbols
* @param fixLen Fixed length packets [false: variable, true: fixed]
* @param payloadLen Sets payload length when fixed lenght is used
* @param payloadLen Sets payload length when fixed length is used
* @param crcOn Enables/Disables the CRC [false: OFF, true: ON]
* @param FreqHopOn Enables disables the intra-packet frequency hopping
* FSK : N/A ( set to 0 )