summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAlexander Steffen <devel.20.webmeister@spamgourmet.com>2017-07-15 11:39:05 +0200
committerDamien George <damien.p.george@gmail.com>2017-07-21 23:33:12 +1000
commit71173cd57de9fc0a84c899e9f1d1e00c8910ade2 (patch)
tree17ab50fd79ab493aae93ed5816e2e6fa67ccc378
parenta6bec531771f2e2103148ed98dc96d4ce90e44e1 (diff)
downloadmicropython-71173cd57de9fc0a84c899e9f1d1e00c8910ade2.tar.gz
micropython-71173cd57de9fc0a84c899e9f1d1e00c8910ade2.zip
cc3200: Use the name MicroPython consistently in code.
In a few places the cc3200 port uses the incorrect spelling Micropython instead of MicroPython.
-rw-r--r--cc3200/ftp/ftp.c2
-rw-r--r--cc3200/main.c2
-rw-r--r--cc3200/mptask.c2
-rw-r--r--cc3200/mptask.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/cc3200/ftp/ftp.c b/cc3200/ftp/ftp.c
index 1febe291f9..b56e3f4ce5 100644
--- a/cc3200/ftp/ftp.c
+++ b/cc3200/ftp/ftp.c
@@ -335,7 +335,7 @@ void ftp_run (void) {
ftp_data.loggin.uservalid = false;
ftp_data.loggin.passvalid = false;
strcpy (ftp_path, "/");
- ftp_send_reply (220, "Micropython FTP Server");
+ ftp_send_reply (220, "MicroPython FTP Server");
break;
}
}
diff --git a/cc3200/main.c b/cc3200/main.c
index 7c6c4b545d..1ffb981880 100644
--- a/cc3200/main.c
+++ b/cc3200/main.c
@@ -89,7 +89,7 @@ int main (void) {
#ifndef DEBUG
OsiTaskHandle mpTaskHandle;
#endif
- mpTaskHandle = xTaskCreateStatic(TASK_Micropython, "MicroPy",
+ mpTaskHandle = xTaskCreateStatic(TASK_MicroPython, "MicroPy",
MICROPY_TASK_STACK_LEN, NULL, MICROPY_TASK_PRIORITY, mpTaskStack, &mpTaskTCB);
ASSERT(mpTaskHandle != NULL);
diff --git a/cc3200/mptask.c b/cc3200/mptask.c
index d446711a29..50c3c769da 100644
--- a/cc3200/mptask.c
+++ b/cc3200/mptask.c
@@ -112,7 +112,7 @@ static const char fresh_boot_py[] = "# boot.py -- run on boot-up\r\n"
DECLARE PUBLIC FUNCTIONS
******************************************************************************/
-void TASK_Micropython (void *pvParameters) {
+void TASK_MicroPython (void *pvParameters) {
// get the top of the stack to initialize the garbage collector
uint32_t sp = gc_helper_get_sp();
diff --git a/cc3200/mptask.h b/cc3200/mptask.h
index 9276cfc3ed..5345ecfda4 100644
--- a/cc3200/mptask.h
+++ b/cc3200/mptask.h
@@ -41,6 +41,6 @@ extern StackType_t mpTaskStack[];
/******************************************************************************
DECLARE PUBLIC FUNCTIONS
******************************************************************************/
-extern void TASK_Micropython (void *pvParameters);
+extern void TASK_MicroPython (void *pvParameters);
#endif // MICROPY_INCLUDED_CC3200_MPTASK_H