equal
deleted
inserted
replaced
8 * Buffer content is read asynchronously, (from non real time part), |
8 * Buffer content is read asynchronously, (from non real time part), |
9 * and then buffer marked free again. |
9 * and then buffer marked free again. |
10 * |
10 * |
11 * |
11 * |
12 * */ |
12 * */ |
|
13 |
|
14 #ifdef TARGET_DEBUG_DISABLE |
|
15 |
|
16 void __init_debug (void){} |
|
17 void __cleanup_debug (void){} |
|
18 void __retrieve_debug(void){} |
|
19 void __publish_debug (void){} |
|
20 |
|
21 #else |
|
22 |
13 #include "iec_types_all.h" |
23 #include "iec_types_all.h" |
14 #include "POUS.h" |
24 #include "POUS.h" |
15 /*for memcpy*/ |
25 /*for memcpy*/ |
16 #include <string.h> |
26 #include <string.h> |
17 #include <stdio.h> |
27 #include <stdio.h> |
326 *buffer = debug_buffer; |
336 *buffer = debug_buffer; |
327 } |
337 } |
328 return wait_error; |
338 return wait_error; |
329 } |
339 } |
330 |
340 |
|
341 #endif |
|
342 |