aboutsummaryrefslogtreecommitdiff
path: root/cc3200/main.c
diff options
context:
space:
mode:
authorDamien George2017-02-21 17:20:58 +1100
committerDamien George2017-02-21 17:20:58 +1100
commit29551ba5666ba92c7577c554e2fb92d80651e505 (patch)
treebb7ab5177e8d0fa26c5b8454dc0aba681460bd91 /cc3200/main.c
parent465a604547e1438e650c8b4142816e2330363767 (diff)
cc3200: Move stoupper to ftp.c and define in terms of unichar_toupper.
ftp.c is the only user of this function so making it static in that file allows it to be inlined. Also, reusing unichar_toupper means we no longer depend on the C stdlib for toupper, saving about 300 bytes of code space.
Diffstat (limited to 'cc3200/main.c')
-rw-r--r--cc3200/main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/cc3200/main.c b/cc3200/main.c
index 06b3604b6..7c6c4b545 100644
--- a/cc3200/main.c
+++ b/cc3200/main.c
@@ -98,13 +98,6 @@ int main (void) {
for ( ; ; );
}
-void stoupper (char *str) {
- while (str && *str != '\0') {
- *str = (char)toupper((int)(*str));
- str++;
- }
-}
-
// We need this when configSUPPORT_STATIC_ALLOCATION is enabled
void vApplicationGetIdleTaskMemory( StaticTask_t **ppxIdleTaskTCBBuffer,
StackType_t **ppxIdleTaskStackBuffer,