File tree 4 files changed +7
-10
lines changed
4 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,13 @@ ISR(HWSERIAL1_RXC_VECTOR)
45
45
#error "Don't know what the Data Received interrupt vector is called for Serial1"
46
46
#endif
47
47
48
- // !!BUG in headerfile. The RXC and DRE vectors are swapped!!
49
48
#if defined(HWSERIAL1_DRE_VECTOR)
50
49
ISR (HWSERIAL1_DRE_VECTOR)
51
50
{
52
51
Serial1._tx_data_empty_irq ();
53
52
}
54
53
#else
55
- #error "Don't know what the Data Received interrupt vector is called for Serial "
54
+ #error "Don't know what the Data Register Empty interrupt vector is called for Serial1 "
56
55
#endif
57
56
58
57
#if defined(HWSERIAL1)
Original file line number Diff line number Diff line change @@ -42,17 +42,16 @@ ISR(HWSERIAL2_RXC_VECTOR)
42
42
Serial2._rx_complete_irq ();
43
43
}
44
44
#else
45
- #error "Don't know what the Data Received interrupt vector is called for Serial1 "
45
+ #error "Don't know what the Data Received interrupt vector is called for Serial2 "
46
46
#endif
47
47
48
- // !!BUG in headerfile. The RXC and DRE vectors are swapped!!
49
48
#if defined(HWSERIAL2_DRE_VECTOR)
50
49
ISR (HWSERIAL2_DRE_VECTOR)
51
50
{
52
51
Serial2._tx_data_empty_irq ();
53
52
}
54
53
#else
55
- #error "Don't know what the Data Received interrupt vector is called for Serial "
54
+ #error "Don't know what the Data Register Empty interrupt vector is called for Serial2 "
56
55
#endif
57
56
58
57
#if defined(HWSERIAL2)
Original file line number Diff line number Diff line change @@ -42,17 +42,16 @@ ISR(HWSERIAL3_RXC_VECTOR)
42
42
Serial3._rx_complete_irq ();
43
43
}
44
44
#else
45
- #error "Don't know what the Data Received interrupt vector is called for Serial1 "
45
+ #error "Don't know what the Data Received interrupt vector is called for Serial3 "
46
46
#endif
47
47
48
- // !!BUG in headerfile. The RXC and DRE vectors are swapped!!
49
48
#if defined(HWSERIAL3_DRE_VECTOR)
50
49
ISR (HWSERIAL3_DRE_VECTOR)
51
50
{
52
51
Serial3._tx_data_empty_irq ();
53
52
}
54
53
#else
55
- #error "Don't know what the Data Received interrupt vector is called for Serial "
54
+ #error "Don't know what the Data Register Empty interrupt vector is called for Serial3 "
56
55
#endif
57
56
58
57
#if defined(HWSERIAL3)
Original file line number Diff line number Diff line change 1
1
/*
2
- HardwareSerial_private .h - Hardware serial library for Wiring
2
+ UART_private .h - Hardware serial library for Wiring
3
3
Copyright (c) 2006 Nicholas Zambetti. All right reserved.
4
4
5
5
This library is free software; you can redistribute it and/or
23
23
24
24
#include "wiring_private.h"
25
25
26
- // this next line disables the entire HardwareSerial .cpp,
26
+ // this next line disables the entire UART .cpp,
27
27
// this is so I can support Attiny series and any other chip without a uart
28
28
#if defined(HAVE_HWSERIAL0 ) || defined(HAVE_HWSERIAL1 ) || defined(HAVE_HWSERIAL2 ) || defined(HAVE_HWSERIAL3 )
29
29
You can’t perform that action at this time.
0 commit comments