Logo
Explore Help
Sign In
linuxmsm/qbootctl
0
0
Fork 0
You've already forked qbootctl
mirror of https://github.com/linux-msm/qbootctl.git synced 2026-02-25 13:13:44 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
main
qbootctl/utils.h

13 lines
192 B
C
Raw Permalink Normal View History

its ALIIIIIIVE not yet properly tested, but it seems to mostly work just fine. Slot switching and marking boot as successful at least just work!
2022-06-04 04:42:40 +01:00
#ifndef __UTILS_H__
#define __UTILS_H__
// Enable debug logging
rework, fixup, cleanup Allocate gpt_disk on stack, allocate when needed, rather than multiple times for every partition. Huge code cleanup, rerun clang-format, etc Many changes here inspired by Eric's earlier work.
2023-06-23 20:16:24 +01:00
// #define DEBUG 1
its ALIIIIIIVE not yet properly tested, but it seems to mostly work just fine. Slot switching and marking boot as successful at least just work!
2022-06-04 04:42:40 +01:00
#ifdef DEBUG
#define LOGD(fmt, ...) printf(fmt, ##__VA_ARGS__)
#else
#define LOGD(fmtn, ...)
#endif
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Page: 57ms Template: 4ms
English
English
Licenses API