Output selection: Remove "USB and BT" option (#11940)

This commit is contained in:
Ryan 2021-02-20 18:11:02 +11:00 committed by GitHub
parent 4794f6ac4d
commit 7ab9f6a101
Failed to generate hash of commit
2 changed files with 5 additions and 30 deletions

View file

@ -21,21 +21,11 @@ enum outputs {
OUTPUT_NONE,
OUTPUT_USB,
OUTPUT_BLUETOOTH,
// backward compatibility
OUTPUT_USB_AND_BT
OUTPUT_BLUETOOTH
};
/**
* backward compatibility for BLUETOOTH_ENABLE, send to BT and USB by default
*/
#ifndef OUTPUT_DEFAULT
# ifdef BLUETOOTH_ENABLE
# define OUTPUT_DEFAULT OUTPUT_USB_AND_BT
# else
# define OUTPUT_DEFAULT OUTPUT_AUTO
# endif
# define OUTPUT_DEFAULT OUTPUT_AUTO
#endif
void set_output(uint8_t output);