Timeouts now suitable for real use, old values for testing only

This commit is contained in:
Florian Streibelt 2011-10-12 02:27:06 +02:00
parent 8d6ff280e3
commit af69d2f16f
1 changed files with 3 additions and 3 deletions

View File

@ -77,9 +77,9 @@ char display_time[] = {0x1f,0x55};
#define TIME_BASE 200000 #define TIME_BASE 200000
#define TB_TO_SECS(x) (x*1000000/TIME_BASE) #define TB_TO_SECS(x) (x*1000000/TIME_BASE)
#define TIME_CLOCK TB_TO_SECS(5) #define TIME_CLOCK TB_TO_SECS(25)
#define TIME_DIM TB_TO_SECS(30) #define TIME_DIM TB_TO_SECS(90)
#define TIME_OFF TB_TO_SECS(120) #define TIME_OFF TB_TO_SECS(320)
#define DEVICE "/dev/ttyUSB0" #define DEVICE "/dev/ttyUSB0"