drivers/cc2420: move flush sequence to inline function #10725
drivers/cc2420: move flush sequence to inline function #10725maribu merged 2 commits intoRIOT-OS:masterfrom
Conversation
|
(I renamed |
|
I guess its safe to squash already |
maribu
left a comment
There was a problem hiding this comment.
Looks good. Thank you very much :-)
+1 |
1cd077d to
87e9172
Compare
|
done! |
|
If Travis and Murdock don't find any issues, I would just merge this PR untested. I really cannot see how this could break anything - I would bet that the compiler would generate the exact same machine code before and after this PR. |
|
@smlng, @PeterKietzmann: Are you fine with untested merge of this PR? |
|
OK. I did just compile it with and without the PR and disassembled cc2420.o. The result is the same - so indeed the same machine code is generated. I think this should be as good as testing. (I cannot test because I'm missing the hardware.) |
|
Huh! A moment ago all three checks were green - now Codacy is running again... Strange. (But I guess that test will pass again, as no code was change since it was green and I hit merge.) |
|
For the record Codacy says the PR is up to standards now. Next time I'll hit Ctrl+F5 instead of F5 before clicking on merge. Maybe the browser chache served me ill this time. |
Contribution description
See #10416 (comment)
Testing procedure
Check it compiles properly. Try to receive packets and check they are received correctly (if FIFO is not flushed, new packets won't be received)
Issues/PRs references
#10416