Skip to content

Commit

Permalink
Fix what github did to my files :(
Browse files Browse the repository at this point in the history
  • Loading branch information
OneOfEleven committed Oct 9, 2023
1 parent 50ebc4e commit 350da78
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
Binary file modified firmware.bin
Binary file not shown.
Binary file modified firmware.packed.bin
Binary file not shown.
9 changes: 2 additions & 7 deletions ui/battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@

void UI_DrawBattery(uint8_t *bitmap, const unsigned int level, const unsigned int blink)
{
if (blink == 0) {
if (blink == 0)
{
memset(bitmap, 0, sizeof(BITMAP_BATTERY_LEVEL));
}
else
Expand All @@ -48,12 +49,6 @@ void UI_DrawBattery(uint8_t *bitmap, const unsigned int level, const unsigned in
}
}
}
<<<<<<< HEAD
else
if (blink == 0)
memset(bitmap, 0, sizeof(BITMAP_BATTERY_LEVEL));
=======
>>>>>>> 6819aca561858ec310a18cf21769411a69cd01d7
}

void UI_DisplayBattery(const unsigned int level, const unsigned int blink)
Expand Down
2 changes: 1 addition & 1 deletion ui/battery.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <stdint.h>

void UI_DrawBattery(uint8_t* bitmap, const unsigned int level, const unsigned int blink);
void UI_DrawBattery(uint8_t *bitmap, const unsigned int level, const unsigned int blink);
void UI_DisplayBattery(const unsigned int Level, const unsigned int blink);

#endif
Expand Down

0 comments on commit 350da78

Please sign in to comment.