make btpin & btfactory accessible in BTADDON builds

This commit is contained in:
Philippe Teuwen 2019-08-12 18:58:16 +02:00
commit 01ce580e7b
3 changed files with 7 additions and 1 deletions

View file

@ -72,6 +72,11 @@ bool IfPm3FpcUsartDevFromUsb(void) {
return !conn.send_via_fpc_usart;
}
bool IfPm3FpcUsartFromUsb(void) {
// true if FPC USART Host or developer support and if talking from USB-CDC interface
return IfPm3FpcUsartHostFromUsb() || IfPm3FpcUsartDevFromUsb();
}
bool IfPm3Lf(void) {
if (!IfPm3Present())
return false;