Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Brooke <[email protected]>
  • Loading branch information
kunwarsahni01 and HotelCalifornia authored Oct 2, 2020
1 parent 3bc747e commit bb2c816
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/pros/distance.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ int32_t distance_get_object_size(uint8_t port);
*
* \param port
* The V5 Distance Sensor port number from 1-21
* \return The velocity value or PROS_ERR_F if the operation failed, setting
* \return The velocity value or PROS_ERR if the operation failed, setting
* errno.
*/

Expand Down
4 changes: 2 additions & 2 deletions include/pros/distance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Distance {
* Get the current guess at relative object size
*
* This is a value that has a range of 0 to 400.
* A 18 x 30 grey card will return a value of approximately 75
* A 18" x 30" grey card will return a value of approximately 75
* in typical room lighting.
*
* This function uses the following values of errno when an error state is
Expand Down Expand Up @@ -114,4 +114,4 @@ class Distance {
};
}

#endif
#endif

0 comments on commit bb2c816

Please sign in to comment.