mirror of
https://github.com/linux-msm/qbootctl
synced 2024-11-23 14:43:29 +08:00
55612452e0
not yet properly tested, but it seems to mostly work just fine. Slot switching and marking boot as successful at least just work!
13 lines
191 B
C
13 lines
191 B
C
#ifndef __UTILS_H__
|
|
#define __UTILS_H__
|
|
|
|
// Enable debug logging
|
|
//#define DEBUG 1
|
|
|
|
#ifdef DEBUG
|
|
#define LOGD(fmt, ...) printf(fmt, ##__VA_ARGS__)
|
|
#else
|
|
#define LOGD(fmtn, ...)
|
|
#endif
|
|
|
|
#endif |