Parent Directory
|
Revision Log
|
Patch
revision 106 by hedin, Mon May 28 08:26:29 2007 UTC | revision 109 by hedin, Mon May 28 10:13:48 2007 UTC | |
---|---|---|
# | Line 4 | Line 4 |
4 | #include "tick.h" | #include "tick.h" |
5 | #include "delay.h" | #include "delay.h" |
6 | #include "network.h" | #include "network.h" |
7 | #include "barcode.h" | |
8 | #include <string.h> | #include <string.h> |
9 | ||
10 | ||
# | Line 94 void main(void) | Line 94 void main(void) |
94 | */ | */ |
95 | ||
96 | ||
97 | // Defines the IP add. on the server machine | // Defines the IP add. on the server machine (rnode is defined in network.h) |
98 | rnode.IPAddr.v[0] = 192; | rnode.IPAddr.v[0] = 192; |
99 | rnode.IPAddr.v[1] = 168; | rnode.IPAddr.v[1] = 168; |
100 | rnode.IPAddr.v[2] = 1; | rnode.IPAddr.v[2] = 1; |
# | Line 146 void main(void) | Line 146 void main(void) |
146 | ||
147 | void interrupt HighISR(void) | void interrupt HighISR(void) |
148 | { | { |
149 | TickUpdate(); | if (RCIF == 1) |
150 | barcode_interrupt(); | |
151 | else | |
152 | TickUpdate(); | |
153 | } | } |
154 | ||
155 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |