Removed verbositiy from camera constructor

This commit is contained in:
Jonas Köritz 2019-08-28 18:03:17 +02:00
parent 3e25160671
commit 9204f1de8d
2 changed files with 11 additions and 9 deletions

View file

@ -56,14 +56,14 @@ type StoredFile struct {
}
// CreateCamera creates a new Camera instance
func CreateCamera(ipAddress net.IP, port int, username, password string, verbose bool) *Camera {
func CreateCamera(ipAddress net.IP, port int, username, password string) *Camera {
camera := &Camera{
ipAddress: ipAddress,
port: port,
username: username,
password: password,
messageHandlers: make(map[uint32][]MessageHandler, 0),
verbose: verbose,
verbose: true,
}
return camera
}