pub unsafe extern "C" fn phydat_prefix_from_scale(scale: i8) -> c_char
Expand description
@brief Convert the given scale factor to an SI prefix
The given scaling factor is returned as a SI unit prefix (e.g. M for Mega, u
for micro, etc), or \0
otherwise.
@param[in] scale scale factor to convert
@return SI prefix if applicable
@return \0
if no SI prefix was found