Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hedger committed Apr 2, 2024
1 parent a3f46e9 commit 01e9492
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion applications/services/gui/canvas.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "canvas_i.h"
#include "gui/icon.h"
#include "icon_animation_i.h"

#include <furi.h>
Expand Down
2 changes: 1 addition & 1 deletion applications/services/gui/icon_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

#pragma once
#include "icon.h"
#include <stdint.h>

struct Icon {
const uint16_t width;
Expand Down
2 changes: 1 addition & 1 deletion lib/toolbox/compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ void compress_icon_decode(
CompressHeader* header = (CompressHeader*)icon_data;
if(header->is_compressed) {
size_t decoded_size = 0;
// memset(decoded_data_output_ptr, 0, size_hint);
compress_decode_internal(
instance->decoder,
icon_data,
/* Decoder will check/process headers again - need to pass them */
sizeof(CompressHeader) + header->compressed_buff_size,
decoded_data_output_ptr,
decoded_data_output_size,
Expand Down

0 comments on commit 01e9492

Please sign in to comment.