Added return value for atsha204_getSerialNumber (#487)

Also cleaned up trailing whitespaces.
This commit is contained in:
Thomas Mørch
2016-07-09 15:08:40 +02:00
committed by Olivier
parent 1eabe506cf
commit 4811eb5573
2 changed files with 37 additions and 37 deletions
@@ -571,7 +571,7 @@ uint8_t atsha204_execute(uint8_t op_code, uint8_t param1, uint16_t param2,
&rx_buffer[0], poll_delay, poll_timeout);
}
void atsha204_getSerialNumber(uint8_t * response)
uint8_t atsha204_getSerialNumber(uint8_t * response)
{
uint8_t readCommand[READ_COUNT];
uint8_t readResponse[READ_4_RSP_SIZE];
@@ -596,5 +596,5 @@ void atsha204_getSerialNumber(uint8_t * response)
}
}
return;
return returnCode;
}
@@ -246,7 +246,7 @@ uint8_t atsha204_wakeup(uint8_t *response);
uint8_t atsha204_execute(uint8_t op_code, uint8_t param1, uint16_t param2,
uint8_t datalen1, uint8_t *data1, uint8_t tx_size,
uint8_t *tx_buffer, uint8_t rx_size, uint8_t *rx_buffer);
void atsha204_getSerialNumber(uint8_t *response);
uint8_t atsha204_getSerialNumber(uint8_t *response);
#endif
#endif