mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-21 12:38:34 +00:00
commit
d6eeda7136
@ -12,4 +12,4 @@ FROM frolvlad/alpine-glibc
|
|||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
COPY --from=builder /firmware/release/meshtasticd_linux_amd64 ./
|
COPY --from=builder /firmware/release/meshtasticd_linux_amd64 ./
|
||||||
RUN apk --update add --no-cache g++
|
RUN apk --update add --no-cache g++
|
||||||
CMD ["./meshtasticd_linux_amd64"]
|
CMD sh -cx "./meshtasticd_linux_amd64 --hwid '$RANDOM'"
|
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
version: "3.7"
|
||||||
|
|
||||||
|
services:
|
||||||
|
meshtastic-node:
|
||||||
|
build: .
|
||||||
|
deploy:
|
||||||
|
mode: replicated
|
||||||
|
replicas: 80
|
||||||
|
networks:
|
||||||
|
- mesh
|
||||||
|
|
||||||
|
networks:
|
||||||
|
mesh:
|
@ -317,7 +317,13 @@ ErrorCode RadioLibInterface::send(MeshPacket *p)
|
|||||||
void RadioLibInterface::handleReceiveInterrupt()
|
void RadioLibInterface::handleReceiveInterrupt()
|
||||||
{
|
{
|
||||||
uint32_t xmitMsec;
|
uint32_t xmitMsec;
|
||||||
assert(isReceiving);
|
|
||||||
|
// when this is called, we should be in receive mode - if we are not, just jump out instead of bombing. Possible Race Condition?
|
||||||
|
if (!isReceiving) {
|
||||||
|
DEBUG_MSG("*** WAS_ASSERT *** handleReceiveInterrupt called when not in receive mode\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
isReceiving = false;
|
isReceiving = false;
|
||||||
|
|
||||||
// read the number of actually received bytes
|
// read the number of actually received bytes
|
||||||
|
Loading…
Reference in New Issue
Block a user