Merge pull request #2425 from Subv/cleanup_todos

Implement some TODOs in the code.
This commit is contained in:
bunnei
2017-01-12 10:14:30 -05:00
committed by GitHub
4 changed files with 30 additions and 32 deletions

View File

@ -531,7 +531,9 @@ static void GetStandardCoefficient(Interface* self) {
LOG_DEBUG(Service_Y2R, "called standard_coefficient=%u ", index);
} else {
cmd_buff[0] = IPC::MakeHeader(0x21, 1, 0);
cmd_buff[1] = -1; // TODO(bunnei): Identify the correct error code for this
cmd_buff[1] = ResultCode(ErrorDescription::InvalidEnumValue, ErrorModule::CAM,
ErrorSummary::InvalidArgument, ErrorLevel::Usage)
.raw;
LOG_ERROR(Service_Y2R, "called standard_coefficient=%u The argument is invalid!", index);
}