Skip to content

Commit cf0dba3

Browse files
committed
pbio/uartdev: Drop float_le.
This is no longer used.
1 parent 56b8cf5 commit cf0dba3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/pbio/src/uartdev.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -239,17 +239,6 @@ pbio_error_t pbio_uartdev_get(uint8_t id, pbio_iodev_t **iodev) {
239239
return PBIO_SUCCESS;
240240
}
241241

242-
static inline float float_le(uint8_t *bytes) {
243-
union {
244-
float f;
245-
uint32_t u;
246-
} result;
247-
248-
result.u = pbio_get_uint32_le(bytes);
249-
250-
return result.f;
251-
}
252-
253242
static inline bool test_and_set_bit(uint8_t bit, uint32_t *flags) {
254243
bool result = *flags & (1 << bit);
255244
*flags |= (1 << bit);

0 commit comments

Comments
 (0)