Skip to content

Commit

Permalink
fix rda5981 ota service not init problem & make errors
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowenxia1 committed Jul 1, 2018
1 parent 10bc52f commit 5c76ceb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions platform/mcu/rda5981x/aos/aos.c
Expand Up @@ -38,6 +38,10 @@ static void sys_init(void)
aos_kv_init();
aos_loop_init();
aos_framework_init();

#ifdef AOS_FOTA
ota_service_init();
#endif
application_start(0, NULL);
#endif
}
Expand Down
2 changes: 1 addition & 1 deletion platform/mcu/rda5981x/driver/PeripheralNames.h
Expand Up @@ -17,7 +17,7 @@
#define MBED_PERIPHERALNAMES_H

#include "cmsis.h"
#include "PinNames.h"
#include "pinnames.h"

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion platform/mcu/rda5981x/driver/objects.h
Expand Up @@ -19,7 +19,7 @@
#include "cmsis.h"
#include "PortNames.h"
#include "PeripheralNames.h"
#include "PinNames.h"
#include "pinnames.h"
#include "gpio_object.h"

#ifdef __cplusplus
Expand Down
2 changes: 1 addition & 1 deletion platform/mcu/rda5981x/include/pinmap.h
Expand Up @@ -16,7 +16,7 @@
#ifndef MBED_PINMAP_H
#define MBED_PINMAP_H

#include "PinNames.h"
#include "pinnames.h"

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit 5c76ceb

Please sign in to comment.