1
0

Merge pull request #341 from esell/master

Update macro names in bluefruit protocol
This commit is contained in:
tmk 2016-05-06 08:28:50 +09:00
commit e9a54995bd

View File

@ -158,17 +158,17 @@ static void send_system(uint16_t data)
(usage == TRANSPORT_STOP ? 0x0010 : \ (usage == TRANSPORT_STOP ? 0x0010 : \
(usage == TRANSPORT_STOP_EJECT ? 0x0000 : \ (usage == TRANSPORT_STOP_EJECT ? 0x0000 : \
(usage == TRANSPORT_PLAY_PAUSE ? 0x4000 : \ (usage == TRANSPORT_PLAY_PAUSE ? 0x4000 : \
(usage == AL_CC_CONFIG ? 0x0000 : \ (usage == APPLAUNCH_CC_CONFIG ? 0x0000 : \
(usage == AL_EMAIL ? 0x0000 : \ (usage == APPLAUNCH_EMAIL ? 0x0000 : \
(usage == AL_CALCULATOR ? 0x0000 : \ (usage == APPLAUNCH_CALCULATOR ? 0x0000 : \
(usage == AL_LOCAL_BROWSER ? 0x0000 : \ (usage == APPLAUNCH_LOCAL_BROWSER ? 0x0000 : \
(usage == AC_SEARCH ? 0x0400 : \ (usage == APPCONTROL_SEARCH ? 0x0400 : \
(usage == AC_HOME ? 0x0100 : \ (usage == APPCONTROL_HOME ? 0x0100 : \
(usage == AC_BACK ? 0x0000 : \ (usage == APPCONTROL_BACK ? 0x0000 : \
(usage == AC_FORWARD ? 0x0000 : \ (usage == APPCONTROL_FORWARD ? 0x0000 : \
(usage == AC_STOP ? 0x0000 : \ (usage == APPCONTROL_STOP ? 0x0000 : \
(usage == AC_REFRESH ? 0x0000 : \ (usage == APPCONTROL_REFRESH ? 0x0000 : \
(usage == AC_BOOKMARKS ? 0x0000 : 0))))))))))))))))))) (usage == APPCONTROL_BOOKMARKS ? 0x0000 : 0)))))))))))))))))))
static void send_consumer(uint16_t data) static void send_consumer(uint16_t data)
{ {