-- plugins/threshold/threshold.C
++ plugins/threshold/threshold.C
}
template<>
static inline float scale_to_range(int v)
inline float scale_to_range(int v)
{
return (float) v / 0xff;
static inline uint16_t scale_to_range(int v)
inline uint16_t scale_to_range(int v)
return v << 8 | v;