Cutter Power in percent format (#20410)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> Co-authored-by: Jason Smith <jason.inet@gmail.com> Co-authored-by: Luu Lac <45380455+shitcreek@users.noreply.github.com>
This commit is contained in:
@@ -23,7 +23,10 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// Convert a full-range unsigned 8bit int to a percentage
|
||||
// Format uint8_t (0-100) as rj string with 123% / _12% / __1% format
|
||||
const char* pcttostrpctrj(const uint8_t i);
|
||||
|
||||
// Convert uint8_t (0-255) to a percentage, format as above
|
||||
const char* ui8tostr4pctrj(const uint8_t i);
|
||||
|
||||
// Convert uint8_t to string with 12 format
|
||||
|
||||
Reference in New Issue
Block a user