Compare commits
2 Commits
5c4552ccde
...
c9127b95ad
Author | SHA1 | Date | |
---|---|---|---|
c9127b95ad | |||
d2ef7ea91a |
@ -24,5 +24,4 @@ char *trim(char *s);
|
||||
int strtotime (char *s, struct _tm_ *tp);
|
||||
// uint8_t dayofweek(uint8_t century, uint8_t y, uint8_t m, uint8_t d);
|
||||
|
||||
|
||||
#endif /* INC_HELPER_H_ */
|
||||
|
@ -10,6 +10,4 @@
|
||||
|
||||
void ringbuf_test(void);
|
||||
|
||||
|
||||
|
||||
#endif /* INC_RINGBUF_TEST_H_ */
|
||||
|
@ -141,13 +141,13 @@ static int si5351_error_status_i2c(HAL_StatusTypeDef status) {
|
||||
switch (status) {
|
||||
case HAL_TIMEOUT:
|
||||
return -ETIMEDOUT;
|
||||
break;
|
||||
//break;
|
||||
case HAL_ERROR:
|
||||
return -EIO;
|
||||
break;
|
||||
//break;
|
||||
case HAL_BUSY:
|
||||
return -EBUSY;
|
||||
break;
|
||||
//break;
|
||||
case HAL_OK:
|
||||
default:
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user