Project

General

Profile

Revision 271

Added by Kevin Woo about 14 years ago

Basic return values for parse_card

View differences:

main.c
175 175
            read_card = 1;
176 176
            if (cr_flag != CR_NONE) {
177 177
                read_card = 0;
178
                parse_card();
178
                if (parse_card() < 0) {
179
                    rs485_send_byte('F');
180
                }
179 181
                cr_flag = CR_NONE;
180 182
            }
181 183
        }

Also available in: Unified diff