From 73a76acef4aa14b042c9c56eef0fd19164afff42 Mon Sep 17 00:00:00 2001 From: sowgro Date: Mon, 22 Sep 2025 23:40:06 -0400 Subject: Submit endian converters --- project/Core/Src/Activties/activity4.c | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 project/Core/Src/Activties/activity4.c (limited to 'project/Core/Src/Activties/activity4.c') diff --git a/project/Core/Src/Activties/activity4.c b/project/Core/Src/Activties/activity4.c deleted file mode 100644 index c6b9b22..0000000 --- a/project/Core/Src/Activties/activity4.c +++ /dev/null @@ -1,26 +0,0 @@ -/* - * activity4.c - * - * Created on: Sep 16, 2025 - * Author: sowgro - */ - -#include "song.h" -#include - -typedef struct { - char chunk_type[4]; - unsigned int length; - unsigned short format; - unsigned short ntrcks; - unsigned short division; -} header; - -void run() { - header* p_header; - - p_header = (header *) (get_song(0).p_song); - - printf("type: %s, length: %u, format: %u, trackCount: %u, division: %u\r\n", p_header->chunk_type, p_header->length, p_header->format, p_header->ntrcks, p_header->division); -} - -- cgit v1.2.3