mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user