File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 2
2
3
3
#include <esos.h>
4
4
#include "esos_pic24.h"
5
- // #include "esos_pic24_rs232.h"
5
+ #include "esos_pic24_rs232.h"
6
6
#include <p33EP512GP806.h>
7
- #include <pic24_all.h>
8
- #include "esos_f14ui.h"
9
7
#include <stdio.h>
10
8
#include <stdlib.h>
11
9
#include "pic24_util.h"
12
10
#include "pic24_serial.h"
13
- #include "revF14.h"
14
11
#include "esos_comm.h"
15
12
13
+ #include "esos_f14ui.h"
14
+
16
15
17
16
ESOS_USER_TASK (demoLEDsAndSwitches ) {
18
17
ESOS_TASK_BEGIN ();
Original file line number Diff line number Diff line change 6
6
*
7
7
* ****************************************************************/
8
8
9
- # include <all_generic.h>
10
9
11
- #ifndef ESOS_UIF14_H
10
+ #ifndef ESOS_UIF14_H
12
11
#define ESOS_UIF14_H
12
+ # include <all_generic.h>
13
13
14
14
// STRUCTURES
15
15
Original file line number Diff line number Diff line change 5
5
* requires the EMBEDDED SYSTEMS target rev. F14
6
6
*
7
7
* ****************************************************************/
8
+ #include <esos_f14ui.h>
8
9
#include <esos.h>
9
10
#include "esos_pic24.h"
10
- #include <esos_f14ui.h>
11
11
#include <revF14.h>
12
12
13
13
#define MINIMUM_LED_FLASH_PERIOD 100
@@ -258,9 +258,9 @@ ESOS_USER_TASK(__esos_uiF14_task){
258
258
static LED3_counter = 0 ;
259
259
260
260
// init to -1 to disable counters by default
261
- static SW1_doublepress_counter = -1 ;
262
- static SW2_doublepress_counter = -1 ;
263
- static SW3_doublepress_counter = -1 ;
261
+ static int SW1_doublepress_counter = -1 ;
262
+ static int SW2_doublepress_counter = -1 ;
263
+ static int SW3_doublepress_counter = -1 ;
264
264
265
265
ESOS_TASK_BEGIN ();
266
266
while (TRUE) {
You can’t perform that action at this time.
0 commit comments