Rename BOOTSEL to PICOBOOT, disable mass storage in bootsel mode
This commit is contained in:
@@ -2,8 +2,8 @@ package client
|
||||
|
||||
import "github.com/theater/picomap/lib/msgpack"
|
||||
|
||||
type ResponseBOOTSEL struct{}
|
||||
type RequestBOOTSEL struct{}
|
||||
type ResponsePICOBOOT struct{}
|
||||
type RequestPICOBOOT struct{}
|
||||
|
||||
type DeviceError struct {
|
||||
Code uint32
|
||||
@@ -22,7 +22,7 @@ type Envelope struct {
|
||||
|
||||
func init() {
|
||||
msgpack.RegisterExt(0, (*Envelope)(nil))
|
||||
msgpack.RegisterExt(1, (*ResponseBOOTSEL)(nil))
|
||||
msgpack.RegisterExt(2, (*RequestBOOTSEL)(nil))
|
||||
msgpack.RegisterExt(1, (*ResponsePICOBOOT)(nil))
|
||||
msgpack.RegisterExt(2, (*RequestPICOBOOT)(nil))
|
||||
msgpack.RegisterExt(3, (*DeviceError)(nil))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user