beremiz
Clone
Summary
Browse
Changes
Graph
If task type is changed from 'interrupt' to 'cyclic' init interval with T#20ms.
2018-06-27, Andrey Skvortsov
3220dd020675
If task type is changed from 'interrupt' to 'cyclic' init interval with T#20ms.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]