Change FilamentSensor msg code from 'F' to 'f'

to avoid clash with Filament Type msg (which is not handled yet)
pull/122/head
D.R.racer 2021-09-23 08:48:46 +02:00 committed by DRracer
parent e277ca75ee
commit 4900dd0222
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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