Anycubic Chiron full feature support (#19505)

This commit is contained in:
Nick
2020-09-29 00:53:40 +01:00
committed by GitHub
parent 169ec65e72
commit 60155aa442
16 changed files with 1739 additions and 577 deletions

View File

@ -52,6 +52,13 @@ const char* ui8tostr3rj(const uint8_t i) {
return &conv[4];
}
// Convert uint8_t to string with 12 format
const char* ui8tostr2(const uint8_t i) {
conv[5] = DIGIMOD(i, 10);
conv[6] = DIGIMOD(i, 1);
return &conv[5];
}
// Convert signed 8bit int to rj string with 123 or -12 format
const char* i8tostr3rj(const int8_t x) {
int xx = x;

View File

@ -26,6 +26,9 @@
// Convert a full-range unsigned 8bit int to a percentage
const char* ui8tostr4pctrj(const uint8_t i);
// Convert uint8_t to string with 12 format
const char* ui8tostr2(const uint8_t x);
// Convert uint8_t to string with 123 format
const char* ui8tostr3rj(const uint8_t i);