[installation] Init with inital config for global

This commit is contained in:
2025-10-30 15:08:17 +01:00
commit 7640b452ed
3678 changed files with 2200095 additions and 0 deletions

View File

@ -0,0 +1,22 @@
import os
'''
Plugin handler for the Kelunji EchoPro plugin.
'''
class SeedlinkPluginHandler:
# Create defaults
def __init__(self): pass
def push(self, seedlink):
# Check and set defaults
try: seedlink.param('sources.echopro_6ch200hz.comport')
except: seedlink.setParam('sources.echopro_6ch200hz.comport', '/dev/ttyS0')
try: seedlink.param('sources.echopro_6ch200hz.proc')
except: seedlink.setParam('sources.echopro_6ch200hz.proc', 'echopro_200')
return seedlink.param('sources.echopro_6ch200hz.comport')
# Flush does nothing
def flush(self, seedlink): pass