Change FilamentSensor msg code from 'F' to 'f'
to avoid clash with Filament Type msg (which is not handled yet)pull/122/head
parent
e277ca75ee
commit
4900dd0222
|
|
@ -100,7 +100,7 @@ DecodeStatus Protocol::DecodeResponse(uint8_t c) {
|
|||
case 'E':
|
||||
case 'W':
|
||||
case 'K':
|
||||
case 'F':
|
||||
case 'f':
|
||||
responseMsg.request.code = (RequestMsgCodes)c;
|
||||
responseMsg.request.value = 0;
|
||||
rspState = ResponseStates::RequestValue;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,8 @@ enum class RequestMsgCodes : uint8_t {
|
|||
Eject = 'E',
|
||||
Wait = 'W',
|
||||
Cut = 'K',
|
||||
FilamentSensor = 'F'
|
||||
FilamentType = 'F',
|
||||
FilamentSensor = 'f'
|
||||
};
|
||||
|
||||
/// Definition of response message parameter codes
|
||||
|
|
|
|||
Loading…
Reference in New Issue