-
Notifications
You must be signed in to change notification settings - Fork 5k
Add error handling mechanism to D500 #12628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/ds/d400/d400-private.cpp
Outdated
| } | ||
|
|
||
|
|
||
| notification d400_notification_decoder::decode( int value ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cant we have the same classs (common)for d400 + d500 and give it the map at initialization?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will do it.
I thought that handling might be different for D500 line but currently it doesn't look like it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
src/ds/d400/d400-private.cpp
Outdated
|
|
||
| notification d400_notification_decoder::decode( int value ) | ||
| { | ||
| if( ds::d400_fw_error_report.find( static_cast< uint8_t >( value ) ) != ds::d400_fw_error_report.end() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure it still works on d400 somehow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified using dedicated HWMC
Nir-Az
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, let's speak before merging
Tracked on [RSDEV-643]
Moved D400 error list from common to d400-private
Added a new list to d500-private, registering needed options in d500 devices.