Buttons: Change return value of board_buttons() and the type of btn_buttonset_t to uint32_t so that more than 8 buttons can be supported.

This commit is contained in:
Gregory Nutt
2017-04-09 07:22:49 -06:00
parent 5a0636d8bc
commit f9e402018b
77 changed files with 125 additions and 153 deletions
+2 -2
View File
@@ -92,7 +92,7 @@
#define PACKETBUF_ATTR_PACKET_TYPE_STREAM_END 3
#define PACKETBUF_ATTR_PACKET_TYPE_TIMESTAMP 4
/* Packet buffer attributes (indices into i_pktattr) */
/* Packet buffer attributes (indices into g_pktattrs) */
#define PACKETBUF_ATTR_NONE 0
@@ -130,7 +130,7 @@
#define PACKETBUF_NUM_ATTRS 24
/* Addresses (indices into i_pktaddr) */
/* Addresses (indices into g_pktaddrs) */
#define PACKETBUF_ADDR_SENDER 0
#define PACKETBUF_ADDR_RECEIVER 1