Rev 342 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 342 | Rev 347 | ||
|---|---|---|---|
| Line 2... | Line 2... | ||
| 2 | * |
2 | * |
| 3 | * Main application |
3 | * Main application |
| 4 | * |
4 | * |
| 5 | ********************************************************************* |
5 | ********************************************************************* |
| 6 | * FileName: $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canTemp/Source/Main.c $ |
6 | * FileName: $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canTemp/Source/Main.c $ |
| 7 | * Last changed: $LastChangedDate: 2007- |
7 | * Last changed: $LastChangedDate: 2007-03-01 14:38:06 +0100 (Thu, 01 Mar 2007) $ |
| 8 | * By: $LastChangedBy: johboh $ |
8 | * By: $LastChangedBy: johboh $ |
| 9 | * Revision: $Revision: |
9 | * Revision: $Revision: 347 $ |
| 10 | ********************************************************************/ |
10 | ********************************************************************/ |
| 11 | 11 | ||
| 12 | 12 | ||
| 13 | #include <compiler.h> |
13 | #include <compiler.h> |
| 14 | #include <stackTasks.h> |
14 | #include <stackTasks.h> |
| Line 150... | Line 150... | ||
| 150 | LED0_TRIS=0; |
150 | LED0_TRIS=0; |
| 151 | BLINDS0_TRIS=0; |
151 | BLINDS0_TRIS=0; |
| 152 | BLINDS0P_TRIS=0; |
152 | BLINDS0P_TRIS=0; |
| 153 | 153 | ||
| 154 | // Enable Interrupts |
154 | // Enable Interrupts |
| 155 | INTCONbits.GIEH = 1; |
- | |
| 156 | INTCONbits.GIEL = 1; |
155 | INTCONbits.GIEL = 1; |
| - | 156 | INTCONbits.GIEH = 1; |
|
| - | 157 | ||
| 157 | 158 | ||
| 158 | // Enable interrupt prirority |
159 | // Enable interrupt prirority |
| 159 | RCONbits.IPEN=1; |
160 | RCONbits.IPEN=1; |
| 160 | } |
161 | } |
| 161 | 162 | ||