mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL_Empty: Fix typos
This commit is contained in:
parent
892cc2ea6f
commit
00b1915034
@ -16,7 +16,7 @@ public:
|
|||||||
/* writeRegister: write a single 8-bit value to a register */
|
/* writeRegister: write a single 8-bit value to a register */
|
||||||
uint8_t writeRegister(uint8_t addr, uint8_t reg, uint8_t val) override;
|
uint8_t writeRegister(uint8_t addr, uint8_t reg, uint8_t val) override;
|
||||||
|
|
||||||
/* writeRegisters: write bytes to contigious registers */
|
/* writeRegisters: write bytes to contiguous registers */
|
||||||
uint8_t writeRegisters(uint8_t addr, uint8_t reg,
|
uint8_t writeRegisters(uint8_t addr, uint8_t reg,
|
||||||
uint8_t len, uint8_t* data) override;
|
uint8_t len, uint8_t* data) override;
|
||||||
|
|
||||||
@ -27,13 +27,13 @@ public:
|
|||||||
* then reads back an 8-bit value. */
|
* then reads back an 8-bit value. */
|
||||||
uint8_t readRegister(uint8_t addr, uint8_t reg, uint8_t* data) override;
|
uint8_t readRegister(uint8_t addr, uint8_t reg, uint8_t* data) override;
|
||||||
|
|
||||||
/* readRegister: read contigious device registers - writes the first
|
/* readRegister: read contiguous device registers - writes the first
|
||||||
* register, then reads back multiple bytes */
|
* register, then reads back multiple bytes */
|
||||||
uint8_t readRegisters(uint8_t addr, uint8_t reg,
|
uint8_t readRegisters(uint8_t addr, uint8_t reg,
|
||||||
uint8_t len, uint8_t* data) override;
|
uint8_t len, uint8_t* data) override;
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||||
/* readRegistersMultiple: read contigious device registers.
|
/* readRegistersMultiple: read contiguous device registers.
|
||||||
Equivalent to count calls to readRegisters() */
|
Equivalent to count calls to readRegisters() */
|
||||||
virtual uint8_t readRegistersMultiple(uint8_t addr, uint8_t reg,
|
virtual uint8_t readRegistersMultiple(uint8_t addr, uint8_t reg,
|
||||||
uint8_t len, uint8_t count,
|
uint8_t len, uint8_t count,
|
||||||
|
Loading…
Reference in New Issue
Block a user