mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-19 16:29:31 +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;
|
struct hci_dev_info di;
|
||||||
di.dev_id = 0;
|
di.dev_id = 0;
|
||||||
bdaddr_t bdaddr;
|
bdaddr_t bdaddr;
|
||||||
char addr[18];
|
|
||||||
int btsock;
|
int btsock;
|
||||||
btsock = socket(AF_BLUETOOTH, SOCK_RAW, 1);
|
btsock = socket(AF_BLUETOOTH, SOCK_RAW, 1);
|
||||||
if (btsock < 0) { // If anything fails, just return with the default value
|
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
|
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()
|
void spiBegin()
|
||||||
|
Loading…
Reference in New Issue
Block a user