mirror of
				https://github.com/Show-maket/IR-protocol.git
				synced 2025-10-30 18:42:35 +00:00 
			
		
		
		
	noDebug
This commit is contained in:
		| @ -1,7 +1,7 @@ | |||||||
| #pragma once | #pragma once | ||||||
| #include <Arduino.h> | #include <Arduino.h> | ||||||
|  |  | ||||||
| #define IRDEBUG_INFO | // #define IRDEBUG_INFO | ||||||
| /*////////////////////////////////////////////////////////////////////////////////////// | /*////////////////////////////////////////////////////////////////////////////////////// | ||||||
|  |  | ||||||
| Для работы в паре положить декодер в энкодер | Для работы в паре положить декодер в энкодер | ||||||
|  | |||||||
| @ -26,10 +26,14 @@ namespace PacketTypes { | |||||||
|             if (isAvailable = checkAddress()) { |             if (isAvailable = checkAddress()) { | ||||||
|                 isAvailable = true; |                 isAvailable = true; | ||||||
|                 isRawAvailable = true; |                 isRawAvailable = true; | ||||||
|  |                 #ifdef IRDEBUG_INFO | ||||||
|                 Serial.print("  OK  "); |                 Serial.print("  OK  "); | ||||||
|  |                 #endif | ||||||
|             } else { |             } else { | ||||||
|                 isRawAvailable = true; |                 isRawAvailable = true; | ||||||
|  |                 #ifdef IRDEBUG_INFO | ||||||
|                 Serial.print("  NOT-OK  "); |                 Serial.print("  NOT-OK  "); | ||||||
|  |                 #endif | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user