Fixed flow control ready indication

This commit is contained in:
Mark Qvist 2018-07-04 23:24:07 +02:00
parent d3aa2ef6d1
commit a5243ed4ac
3 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#define CONFIG_H
#define MAJ_VERS 0x01
#define MIN_VERS 0x07
#define MIN_VERS 0x08
#define MCU_328P 0x90
#define MCU_1284P 0x91

View File

@ -220,6 +220,9 @@ void enqueuePacket(size_t length) {
qbuf[insert_addr+i] = sbuf[i];
}
queue_head = new_queue_head;
if (!queueFull()) {
kiss_indicate_ready();
}
} else {
kiss_indicate_error(ERROR_QUEUE_FULL);
}

View File

@ -55,7 +55,7 @@ void led_indicate_info(int cycles) {
}
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;
int8_t led_standby_direction = 0;
unsigned long led_standby_ticks = 0;