You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
421 B

  1. #include <stdio.h>
  2. #include "lily58.h"
  3. char mode_icon[24];
  4. const char *read_mode_icon(bool swap) {
  5. static char logo[][2][3] = {{{0x95, 0x96, 0}, {0xb5, 0xb6, 0}}, {{0x97, 0x98, 0}, {0xb7, 0xb8, 0}}};
  6. if (swap == false) {
  7. snprintf(mode_icon, sizeof(mode_icon), "%s\n%s", logo[0][0], logo[0][1]);
  8. } else {
  9. snprintf(mode_icon, sizeof(mode_icon), "%s\n%s", logo[1][0], logo[1][1]);
  10. }
  11. return mode_icon;
  12. }