SX1276Lib updated in order to be RTOS aware
Fork of SX1276Lib by
Revision 31:a9575b07944d, committed 2018-03-03
- Comitter:
- Lorenzo Maiorfi
- Date:
- Sat Mar 03 18:08:11 2018 +0100
- Parent:
- 30:3b83eee4e72a
- Commit message:
- Fix debug
Changed in this revision
| debug/sx1276-debug.h | Show annotated file Show diff for this revision Revisions of this file |
| sx1276/sx1276.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/debug/sx1276-debug.h Fri Mar 02 17:09:27 2018 +0100 +++ b/debug/sx1276-debug.h Sat Mar 03 18:08:11 2018 +0100 @@ -21,7 +21,7 @@ /** @file debug.h */ -#ifndef NDEBUG +#ifdef SX127x_DEBUG_ENABLED #include <stdarg.h> #include <stdio.h>
--- a/sx1276/sx1276.h Fri Mar 02 17:09:27 2018 +0100
+++ b/sx1276/sx1276.h Sat Mar 03 18:08:11 2018 +0100
@@ -102,7 +102,7 @@
static const FskBandwidth_t FskBandwidths[];
// <RTOS>
- Thread* _thread_events_queue;
+ //Thread* _thread_events_queue;
EventQueue* _eq_events;
// </RTOS>
@@ -123,7 +123,7 @@
virtual ~SX1276( );
// <RTOS>
- void assign_events_queue_thread(Thread* thread) {_thread_events_queue=thread;}
+ //void assign_events_queue_thread(Thread* thread) {_thread_events_queue=thread;}
void assign_events_queue(EventQueue* event_queue) {_eq_events=event_queue;}
// </RTOS>
