Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e298769

Browse files
Fix building RFM69 gw on 64-bit OS (mysensors#1559)
Rollback change done in mysensors#1551 (the issue was fixed in mysensors#1500)
1 parent 0af7201 commit e298769

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎hal/transport/RFM69/driver/new/RFM69_new.cpp‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,7 @@ LOCAL void RFM69_interruptHandling(void)
278278
RFM69.currentPacket.header.packetLen - 1);
279279

280280
if (RFM69.currentPacket.header.version >= RFM69_MIN_PACKET_HEADER_VERSION) {
281-
RFM69.currentPacket.payloadLen = min(static_cast<uint>
282-
(RFM69.currentPacket.header.packetLen - (RFM69_HEADER_LEN - 1)),
281+
RFM69.currentPacket.payloadLen = min(RFM69.currentPacket.header.packetLen - (RFM69_HEADER_LEN - 1),
283282
RFM69_MAX_PACKET_LEN);
284283
RFM69.ackReceived = RFM69_getACKReceived(RFM69.currentPacket.header.controlFlags);
285284
RFM69.dataReceived = !RFM69.ackReceived;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /