| 95 | |
| 96 | |
| 97 | void SHEX::setBytesPerLine(const uint8_t length) |
| 98 | { |
| 99 | // force multiple of 4; max 32 |
| 100 | _length = ((length + 3) / 4) * 4; |
| 101 | if (_length > SHEX_MAX_LENGTH) |
| 102 | { |
| 103 | _length = SHEX_MAX_LENGTH; |
| 104 | } |
| 105 | if (_length < SHEX_MIN_LENGTH) |
| 106 | { |
| 107 | _length = SHEX_MIN_LENGTH; |
| 108 | } |
| 109 | restartOutput(); |
| 110 | } |
| 111 | |
| 112 | |
| 113 | void SHEX::setVTAB(uint8_t vtab) |