OSDN Git Service
(root)
/
openi2cradio
/
OpenI2CRadio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ADC][Battery] Fix stability, but still not collect.
[openi2cradio/OpenI2CRadio.git]
/
iodef.h
diff --git
a/iodef.h
b/iodef.h
index
6935d98
..
2aecfa1
100644
(file)
--- a/
iodef.h
+++ b/
iodef.h
@@
-122,8
+122,8
@@
extern "C" {
#define TRIS_E_VAL 0b00000100 /* FOR OUTPUT, ADC, PSP=OFF */
-#define _BATT_ADC
AN
7
-#define _REF_ADC 0x
0f
+#define _BATT_ADC
0x0
7
+#define _REF_ADC 0x
10
#define _ADC_INITF ANS7
#define _ADCH_INITF 0x00