mirror of
https://github.com/linux-msm/qbootctl.git
synced 2026-02-25 13:13:44 -08:00
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 |