projects
/
simavr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
megax4/uart: implement u2x (double uart transmission speed)
[simavr]
/
simavr
/
sim
/
avr_watchdog.h
diff --git
a/simavr/sim/avr_watchdog.h
b/simavr/sim/avr_watchdog.h
index
e31d3bb
..
0620b7f
100644
(file)
--- a/
simavr/sim/avr_watchdog.h
+++ b/
simavr/sim/avr_watchdog.h
@@
-23,6
+23,9
@@
#ifndef __AVR_WATCHDOG_H___
#define __AVR_WATCHDOG_H___
+#ifdef __cplusplus
+extern "C" {
+#endif
#include "sim_avr.h"
@@
-80,4
+83,8
@@
void avr_watchdog_init(avr_t * avr, avr_watchdog_t * p);
},\
}
+#ifdef __cplusplus
+};
+#endif
+
#endif /* __AVR_WATCHDOG_H___ */