From c7ba7417c9e629bc077c8eb571091ace6f24add8 Mon Sep 17 00:00:00 2001 From: Sergi Hernandez Juan <shernand@iri.upc.edu> Date: Mon, 10 Jun 2024 20:49:20 +0200 Subject: [PATCH] Changed the type of the waveform ID to force it as unsigned char. --- pattern_frame_buffer/include/waveform_patterns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pattern_frame_buffer/include/waveform_patterns.h b/pattern_frame_buffer/include/waveform_patterns.h index d9b2a6f..d2a71d7 100644 --- a/pattern_frame_buffer/include/waveform_patterns.h +++ b/pattern_frame_buffer/include/waveform_patterns.h @@ -35,7 +35,7 @@ typedef union{ #pragma pack (push, 1) typedef struct { - wf_id_t waveform_id; + unsigned char waveform_id; TPixelRGB max; TPixelRGB min; unsigned short int period; -- GitLab