mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
pcf8574: fix incorrect function comment
Comment for pcf8574_register_update() function was incorrect as it was probably copied from different driver function. Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
committed by
Petro Karashchenko
parent
1b8714f79f
commit
888b8e59dd
@@ -840,18 +840,13 @@ static void pcf8574_int_update(void *handle, uint8_t input)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: tc64_update_registers
|
* Name: pcf8574_register_update
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Read all pin states and update pending interrupts.
|
* Read all pin states and update pending interrupts.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - Device-specific state data
|
* priv - pointer to pcf8574_dev_s structure
|
||||||
* pins - The list of pin indexes to alter in this call
|
|
||||||
* val - The list of pin levels.
|
|
||||||
*
|
|
||||||
* Returned Value:
|
|
||||||
* 0 on success, else a negative error code
|
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user