20428f67be
git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@4367 ddd99763-3ecb-0310-9145-efcb8ce7c51f
14 lines
219 B
C
14 lines
219 B
C
#include <pic.h>
|
|
#include "config.h"
|
|
#include "isr.h"
|
|
#include "serial.h"
|
|
|
|
#pragma interrupt_level 1
|
|
void interrupt isr(void)
|
|
{
|
|
if(TXIE && TXIF)
|
|
serial_interrupt_tx();
|
|
if(RCIE && RCIF)
|
|
serial_interrupt_rx();
|
|
}
|