Add a get_board() method to servod.
The new method is meant to support clients that need to determine
their behavior based on the kind of DUT board the Servo is
controlling. The method returns the board (if any) that was passed
via the --board option.
TEST=integration testing with a corresponding autotest client
Reviewed-by: Simran Basi <email@example.com>
Tested-by: Richard Barnette <firstname.lastname@example.org>
Reviewed-by: Todd Broch <email@example.com>
Reviewed-by: Tom Wai-Hong Tam <firstname.lastname@example.org>
Commit-Queue: Richard Barnette <email@example.com>
2 files changed