2 * fw/sernum.h - ATUSB serial number
4 * Written 2011, 2013 by Werner Almesberger
5 * Copyright 2011, 2013 Werner Almesberger
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
22 #ifdef HAS_BOARD_SERNUM
24 bool sernum_get_descr(uint8_t type, uint8_t index, const uint8_t **reply,
27 #else /* HAS_BOARD_SERNUM */
29 static inline bool sernum_get_descr(uint8_t type, uint8_t index,
30 const uint8_t **reply, uint8_t *size)
35 #endif /* !HAS_BOARD_SERNUM */
37 #endif /* !SERNUM_H */