mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-12-26 03:32:23 +00:00
Improved slightly
This commit is contained in:
parent
5b070b5a27
commit
ad9873d201
@ -72,8 +72,7 @@ void progress_init(byte* line) {
|
||||
void progress_inc() {
|
||||
// Progress characters
|
||||
const byte[] progress_chars = { $20, $65, $74, $75, $61, $f6, $e7, $ea, $e0};
|
||||
progress_idx++;
|
||||
if(progress_idx==8) {
|
||||
if(++progress_idx==8) {
|
||||
*progress_cursor = progress_chars[8];
|
||||
progress_cursor++;
|
||||
progress_idx = 0;
|
||||
|
@ -72,8 +72,7 @@ void progress_init(byte* line) {
|
||||
void progress_inc() {
|
||||
// Progress characters
|
||||
const byte[] progress_chars = { $20, $65, $74, $75, $61, $f6, $e7, $ea, $e0};
|
||||
progress_idx++;
|
||||
if(progress_idx==8) {
|
||||
if(++progress_idx==8) {
|
||||
*progress_cursor = progress_chars[8];
|
||||
progress_cursor++;
|
||||
progress_idx = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user