Skip to content

Commit

Permalink
clang-format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintYourDragon committed Nov 18, 2021
1 parent 18fec96 commit 2731b26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Adafruit_seesaw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ uint32_t Adafruit_seesaw::getVersion() {
* @return The version code. Bits [31:16] will be a date code, [15:0] will
*be the product id.
********************************************************************/
bool Adafruit_seesaw::getProdDatecode(uint16_t *pid, uint8_t *year, uint8_t *mon, uint8_t *day) {
bool Adafruit_seesaw::getProdDatecode(uint16_t *pid, uint8_t *year,
uint8_t *mon, uint8_t *day) {
uint32_t vers = getVersion();
*pid = vers >> 16;

Expand Down
3 changes: 2 additions & 1 deletion Adafruit_seesaw.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ class Adafruit_seesaw : public Print {
bool reset = true);
uint32_t getOptions();
uint32_t getVersion();
bool getProdDatecode(uint16_t *pid, uint8_t *year, uint8_t *mon, uint8_t *day);
bool getProdDatecode(uint16_t *pid, uint8_t *year, uint8_t *mon,
uint8_t *day);

bool SWReset();

Expand Down

0 comments on commit 2731b26

Please sign in to comment.