We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49eb730 commit ab30b36Copy full SHA for ab30b36
1 file changed
can/interface.py
@@ -20,7 +20,10 @@
20
from .util import load_config
21
from .interfaces import BACKENDS
22
23
-from can.interfaces.socketcan.socketcan import CyclicSendTask, MultiRateCyclicSendTask
+if 'linux' in sys.platform:
24
+ # Deprecated and undocumented access to SocketCAN cyclic tasks
25
+ # Will be removed in version 3.0
26
+ from can.interfaces.socketcan import CyclicSendTask, MultiRateCyclicSendTask
27
28
# Required by "detect_available_configs" for argument interpretation
29
if sys.version_info.major > 2:
0 commit comments