Skip to content

Commit 8cbd3b1

Browse files
committed
fix compile warning issue on some platforms
1 parent d77e1f7 commit 8cbd3b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sfTk/sfTkIUART.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ typedef enum _sfTkUARTDataBits
6868
kUARTDataBitsEight = 0x400ul,
6969
} sfTkUARTDataBits_t;
7070

71-
inline const uint8_t dataBitsToValue(sfTkUARTDataBits_t dataBits)
71+
inline uint8_t dataBitsToValue(sfTkUARTDataBits_t dataBits)
7272
{
7373
static const uint8_t dataBitsArray[] = {5, 6, 7, 8};
7474

0 commit comments

Comments
 (0)