Fixed flow control ready indication
This commit is contained in:
parent
d3aa2ef6d1
commit
a5243ed4ac
2
Config.h
2
Config.h
@ -4,7 +4,7 @@
|
|||||||
#define CONFIG_H
|
#define CONFIG_H
|
||||||
|
|
||||||
#define MAJ_VERS 0x01
|
#define MAJ_VERS 0x01
|
||||||
#define MIN_VERS 0x07
|
#define MIN_VERS 0x08
|
||||||
|
|
||||||
#define MCU_328P 0x90
|
#define MCU_328P 0x90
|
||||||
#define MCU_1284P 0x91
|
#define MCU_1284P 0x91
|
||||||
|
@ -220,6 +220,9 @@ void enqueuePacket(size_t length) {
|
|||||||
qbuf[insert_addr+i] = sbuf[i];
|
qbuf[insert_addr+i] = sbuf[i];
|
||||||
}
|
}
|
||||||
queue_head = new_queue_head;
|
queue_head = new_queue_head;
|
||||||
|
if (!queueFull()) {
|
||||||
|
kiss_indicate_ready();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
kiss_indicate_error(ERROR_QUEUE_FULL);
|
kiss_indicate_error(ERROR_QUEUE_FULL);
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ void led_indicate_info(int cycles) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8_t led_standby_min = 1;
|
uint8_t led_standby_min = 1;
|
||||||
uint8_t led_standby_max = 22;
|
uint8_t led_standby_max = 40;
|
||||||
uint8_t led_standby_value = led_standby_min;
|
uint8_t led_standby_value = led_standby_min;
|
||||||
int8_t led_standby_direction = 0;
|
int8_t led_standby_direction = 0;
|
||||||
unsigned long led_standby_ticks = 0;
|
unsigned long led_standby_ticks = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user