Get rid of ack/nack code.
[uccvend-snackrom.git] / ROM2 / main_basic.c
index 5797318..3896b3e 100644 (file)
@@ -146,7 +146,7 @@ void give_change() {
                (sci_rx_buf[3] < '0') || (sci_rx_buf[3] > '9') ||
                (sci_rx_buf[4] < '0') || (sci_rx_buf[4] > '9') ||
                (sci_rx_buf[5] < '0') || (sci_rx_buf[5] > '9')) {
-               send_nack();
+               //send_nack();
        }
        cost = sci_rx_buf[1] - '0';
        cost *= 10; cost = sci_rx_buf[2] - '0';
@@ -155,7 +155,7 @@ void give_change() {
        cost *= 10; cost = sci_rx_buf[5] - '0';
 
        coin_cost(cost);
-       send_ack();
+       //send_ack();
 } 
 
 void send_keypress(u8 key) {

UCC git Repository :: git.ucc.asn.au