Add more wrapper functions to hide more of the raw register accesses

This commit is contained in:
Karl Palsson committed 2011-03-13 19:49:07 +00:00
1 parent cb92166dcd
commit effe217111
5 files changed
+35 -12

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ void interrupt_routine() {
byte last_interrupt = mrf.read_short(MRF_INTSTAT);
// we don't care about the rx acks, but we need them to be flushed so it can keep receiving
if (last_interrupt & MRF_I_RXIF) {
mrf.write_short(MRF_RXFLUSH, 0x01);
mrf.rx_flush();
}
}