Minor fixes from pio check

This commit is contained in:
Jonathan Bennett 2024-12-10 10:34:56 -06:00
parent 4473e775cb
commit 1bd1213a08
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,6 @@ void getMacAddr(uint8_t *dmac)
struct hci_dev_info di;
di.dev_id = 0;
bdaddr_t bdaddr;
char addr[18];
int btsock;
btsock = socket(AF_BLUETOOTH, SOCK_RAW, 1);
if (btsock < 0) { // If anything fails, just return with the default value

View File

@ -132,7 +132,8 @@ class Ch341Hal : public RadioLibHal
long pulseIn(uint32_t pin, uint32_t state, unsigned long timeout) override
{
fprintf(stderr, "pulseIn for pin %d is not supported!\n", pin);
fprintf(stderr, "pulseIn for pin %u is not supported!\n", pin);
return 0;
}
void spiBegin()