1234567891011121314151617181920212223242526 |
- #ifndef ____queue__
- #define ____queue__
- //==========================================================================================================
- // QUEUE THAT SENDS PULSES FROM INT TO MAIN-LOOP
- //==========================================================================================================
- #define NEXA_QUEUE_SIZE 1000 // Queue size from Nexa-remotes
- unsigned char rcvDeQueue( unsigned int *value );
- unsigned char rcvEnQueue( unsigned int value );
- unsigned int getQueueUsed();
- void rcvInitQueue( );
- //==========================================================================================================
- // QUEUE THAT SENDS CODES FROM MAIN-LOOP TO WIFI
- //==========================================================================================================
- #define WIFI_QUEUE_SIZE 10
- unsigned char wifi_rcvDeQueue( unsigned int *type, unsigned int *value );
- unsigned char wifi_rcvEnQueue( unsigned int type, unsigned long long value );
- void wifi_rcvInitQueue( );
- #endif
|