|
@@ -5,12 +5,12 @@
|
|
|
#include <stdint.h>
|
|
|
|
|
|
// Toshiba A/C
|
|
|
-const uint32_t kToshibaAcHdrMark = 4420; // 4.4mS
|
|
|
-const uint32_t kToshibaAcHdrSpace = 4450;
|
|
|
-const uint32_t kToshibaAcBitMark = 570;
|
|
|
-const uint32_t kToshibaAcOneSpace = 1600;
|
|
|
-const uint32_t kToshibaAcZeroSpace = 510;
|
|
|
-const uint32_t kToshibaAcUsualGap = 7960; // Others
|
|
|
+#define kToshibaAcHdrMark ((uint32_t)4420)
|
|
|
+#define kToshibaAcHdrSpace ((uint32_t)4450)
|
|
|
+#define kToshibaAcBitMark ((uint32_t)570)
|
|
|
+#define kToshibaAcOneSpace ((uint32_t)1600)
|
|
|
+#define kToshibaAcZeroSpace ((uint32_t)510)
|
|
|
+#define kToshibaAcUsualGap ((uint32_t)7960)
|
|
|
|
|
|
void Toshiba_ir_ResetDecoder ();
|
|
|
|