generated from thinkode/modelRepository
fixed: create peripheral
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user