Skip to content

Commit 5c76ceb

Browse files
committed
fix rda5981 ota service not init problem & make errors
1 parent 10bc52f commit 5c76ceb

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

platform/mcu/rda5981x/aos/aos.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ static void sys_init(void)
3838
aos_kv_init();
3939
aos_loop_init();
4040
aos_framework_init();
41+
42+
#ifdef AOS_FOTA
43+
ota_service_init();
44+
#endif
4145
application_start(0, NULL);
4246
#endif
4347
}

platform/mcu/rda5981x/driver/PeripheralNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#define MBED_PERIPHERALNAMES_H
1818

1919
#include "cmsis.h"
20-
#include "PinNames.h"
20+
#include "pinnames.h"
2121

2222
#ifdef __cplusplus
2323
extern "C" {

platform/mcu/rda5981x/driver/objects.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "cmsis.h"
2020
#include "PortNames.h"
2121
#include "PeripheralNames.h"
22-
#include "PinNames.h"
22+
#include "pinnames.h"
2323
#include "gpio_object.h"
2424

2525
#ifdef __cplusplus

platform/mcu/rda5981x/include/pinmap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#ifndef MBED_PINMAP_H
1717
#define MBED_PINMAP_H
1818

19-
#include "PinNames.h"
19+
#include "pinnames.h"
2020

2121
#ifdef __cplusplus
2222
extern "C" {

0 commit comments

Comments
 (0)