From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../ARM202U/EXAMPLES/UNUSED/UNUSED.C | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/UNUSED/UNUSED.C (limited to 'Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/UNUSED') diff --git a/Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/UNUSED/UNUSED.C b/Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/UNUSED/UNUSED.C new file mode 100644 index 0000000..8e9ec27 --- /dev/null +++ b/Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/UNUSED/UNUSED.C @@ -0,0 +1,14 @@ +#include + +void unused_function(void) +{ + printf("This function used to do something useful, but is now no longer called\n"); +} + +int main(void) +{ + printf("We used to call 'unused_function' here.\n"); +#if 0 + unused_function(); +#endif +} -- cgit v1.2.3