Type tDeviceMode was added

Signed-off-by: Bleska <blecha.jiri@gmail.com>
Conditional compilation was replaced with condition in program (devMode)

Signed-off-by: Bleska <blecha.jiri@gmail.com>