Removed verbositiy from camera constructor
This commit is contained in:
parent
3e25160671
commit
9204f1de8d
2 changed files with 11 additions and 9 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue