File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -559,7 +559,6 @@ uint16_t usAddress;
559
559
* In order to do this properly, we would need to get a full 3-byte pointer to
560
560
* pxCode. That requires a change to GCC. Not likely to happen any time soon.
561
561
*/
562
-
563
562
* pxTopOfStack = 0 ;
564
563
pxTopOfStack -- ;
565
564
#endif
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ extern "C" {
43
43
*/
44
44
45
45
/* Type definitions. */
46
+
46
47
#define portCHAR char
47
48
#define portFLOAT float
48
49
#define portDOUBLE double
@@ -63,6 +64,7 @@ typedef uint8_t UBaseType_t;
63
64
/*-----------------------------------------------------------*/
64
65
65
66
/* Critical section management. */
67
+
66
68
#define portENTER_CRITICAL () __asm__ __volatile__ ( \
67
69
"in __tmp_reg__, __SREG__" "\n\t" \
68
70
"cli" "\n\t" \
@@ -118,7 +120,7 @@ typedef uint8_t UBaseType_t;
118
120
#if defined( portUSE_WDTO )
119
121
#define portTICK_PERIOD_MS ( (TickType_t) _BV( portUSE_WDTO + 4 ) )
120
122
#else
121
- #define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
123
+ #define portTICK_PERIOD_MS ( (TickType_t) 1000 / configTICK_RATE_HZ )
122
124
#endif
123
125
124
126
#define portBYTE_ALIGNMENT 1
You can’t perform that action at this time.
0 commit comments