/Classwork/ECE4534 - Embedded Systems/PIC 26J11/buffer.c |
---|
69,7 → 69,9 |
pwm_LED_on(); // Turn on LED to indicate full buffer |
return -1; |
} |
// Turn off LED on successful read |
pwm_LED_off(); |
// Update the amount of used space in the buffer |
buffer_data->stored_length -= length; |