mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-19 00:16:59 +00:00
Minor fixes from pio check
This commit is contained in:
parent
4473e775cb
commit
1bd1213a08
@ -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
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user