Move out RFCOMM channel structure init code to a seperate routine, to save on compiled code space and to prevent copy-paste errors.

This commit is contained in:
Dean Camera 2010-07-02 03:06:16 +00:00
parent fbabecee66
commit 31a34154db
5 changed files with 61 additions and 46 deletions

View file

@ -59,6 +59,7 @@
#define RFCOMM_CONFIG_REMOTESIGNALS (1 << 0)
#define RFCOMM_CONFIG_LOCALSIGNALS (1 << 1)
#define RFCOMM_CONFIG_LOCALSIGNALSSENT (1 << 2)
#define RFCOMM_CONFIG_ABMMODESET (1 << 3)
/* Enums: */
enum RFCOMM_Control_Commands_t