diff options
| -rw-r--r-- | firmware/target/hosted/ypr0/ascodec-ypr0.c | 3 | ||||
| -rw-r--r-- | firmware/target/hosted/ypr0/powermgmt-ypr0.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/firmware/target/hosted/ypr0/ascodec-ypr0.c b/firmware/target/hosted/ypr0/ascodec-ypr0.c index 954b4d9..cc92384 100644 --- a/firmware/target/hosted/ypr0/ascodec-ypr0.c +++ b/firmware/target/hosted/ypr0/ascodec-ypr0.c @@ -50,10 +50,9 @@ struct codec_req_struct { #define IOCTL_SUBREG_READ 0x80034103 -int ascodec_init(void) +void ascodec_init(void) { afe_dev = open("/dev/afe", O_RDWR); - return afe_dev; } void ascodec_close(void) diff --git a/firmware/target/hosted/ypr0/powermgmt-ypr0.c b/firmware/target/hosted/ypr0/powermgmt-ypr0.c index 6aba9c7..45ff2ae 100644 --- a/firmware/target/hosted/ypr0/powermgmt-ypr0.c +++ b/firmware/target/hosted/ypr0/powermgmt-ypr0.c @@ -22,7 +22,7 @@ #include "powermgmt.h" #include "power.h" #include "file.h" -#include "as3514.h" +#include "adc.h" #include "sc900776.h" const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] = |