fixed: create peripheral

This commit is contained in:
2025-11-30 18:33:00 +01:00
parent d1fda9f075
commit 7f60f7b8d7
8 changed files with 83 additions and 138 deletions

View File

@@ -7,12 +7,6 @@ import (
"github.com/rs/zerolog/log"
)
// CreatePeripheral creates a new peripheral from the hardware manager
func (a *App) CreatePeripheral(peripheralData hardware.PeripheralInfo) (string, error) {
a.hardwareManager.CreatePeripheral(a.ctx, peripheralData)
return "", nil
}
// AddPeripheral adds a peripheral to the project
func (a *App) AddPeripheral(peripheralData hardware.PeripheralInfo) (string, error) {
// Register this new peripheral