diff options
author | Andrew Tridgell <tridge@samba.org> | 2014-03-25 10:56:33 +1100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-08 11:39:40 +0200 |
commit | 37b4cdfce21ff6a7374599a6706ad387bd359515 (patch) | |
tree | 58454aa722dac3802770a1d1c6cbfe4fbca26362 /src/modules/systemlib/board_serial.h | |
parent | 0d0c4c36265b044ba978cfe4dbe369e93aa25d44 (diff) | |
download | px4-firmware-37b4cdfce21ff6a7374599a6706ad387bd359515.tar.gz px4-firmware-37b4cdfce21ff6a7374599a6706ad387bd359515.tar.bz2 px4-firmware-37b4cdfce21ff6a7374599a6706ad387bd359515.zip |
board_serial: use a uint8_t buffer
we should not be using 'char' for binary APIs, as the C standard does
not specify if it is signed or unsigned, so results may not be
consistent
Diffstat (limited to 'src/modules/systemlib/board_serial.h')
-rw-r--r-- | src/modules/systemlib/board_serial.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/systemlib/board_serial.h b/src/modules/systemlib/board_serial.h index b14bb4376..873d9657b 100644 --- a/src/modules/systemlib/board_serial.h +++ b/src/modules/systemlib/board_serial.h @@ -44,6 +44,6 @@ __BEGIN_DECLS -__EXPORT int get_board_serial(char *serialid); +__EXPORT int get_board_serial(uint8_t *serialid); __END_DECLS |