Skip to content

Commit

Permalink
clang
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr committed Jan 19, 2022
1 parent 1ae7e0e commit 891175e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions drivers/gpio/mcp23018.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ enum {
};

/**
* Init expander and any other dependent drivers
* Init expander and any other dependent drivers
*/
void mcp23018_init(uint8_t slave_addr);

Expand All @@ -46,8 +46,8 @@ bool mcp23018_set_config(uint8_t slave_addr, mcp23018_port_t port, uint8_t conf)
bool mcp23018_set_output(uint8_t slave_addr, mcp23018_port_t port, uint8_t conf);

/**
* Write high/low to both ports sequentially
*
* Write high/low to both ports sequentially
*
* - slightly faster than multiple set_output
*/
bool mcp23018_set_output_all(uint8_t slave_addr, uint8_t confA, uint8_t confB);
Expand All @@ -59,7 +59,7 @@ bool mcp23018_readPins(uint8_t slave_addr, mcp23018_port_t port, uint8_t* ret);

/**
* Read state of both ports sequentially
*
*
* - slightly faster than multiple readPins
*/
bool mcp23018_readPins_all(uint8_t slave_addr, uint16_t* ret);
6 changes: 3 additions & 3 deletions drivers/gpio/pca9555.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ bool pca9555_set_config(uint8_t slave_addr, pca9555_port_t port, uint8_t conf);
bool pca9555_set_output(uint8_t slave_addr, pca9555_port_t port, uint8_t conf);

/**
* Write high/low to both ports sequentially
*
* Write high/low to both ports sequentially
*
* - slightly faster than multiple set_output
*/
bool pca9555_set_output_all(uint8_t slave_addr, uint8_t confA, uint8_t confB);
Expand All @@ -82,7 +82,7 @@ bool pca9555_readPins(uint8_t slave_addr, pca9555_port_t port, uint8_t* ret);

/**
* Read state of both ports sequentially
*
*
* - slightly faster than multiple readPins
*/
bool pca9555_readPins_all(uint8_t slave_addr, uint16_t* ret);

0 comments on commit 891175e

Please sign in to comment.