[go: up one dir, main page]

Skip to content

Commit

Permalink
Change prompt format
Browse files Browse the repository at this point in the history
Add "Firmware" to "Mongoose IoT" ina  couple places.

PUBLISHED_FROM=a0355c45e2ca4db2d2868f0a0f2659c03dac9985
  • Loading branch information
Deomid Ryabkov authored and rojer committed Apr 26, 2016
1 parent 8865c72 commit 06cbd17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fw/src/js/demo.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
print('\r\nThis is Mongoose IoT ' + Sys.ro_vars.fw_version + ' (' + Sys.ro_vars.arch + ')\r\n');
print('\r\nThis is Mongoose IoT Firmware ' + Sys.ro_vars.fw_version + ' (' + Sys.ro_vars.arch + ')\r\n');
print('Below you should see a JS prompt, feel free to play with it.');
print('sendRandomData() will send some random data to the cloud.');

Expand Down
2 changes: 1 addition & 1 deletion fw/src/js/sys_init.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Object.defineProperty(Sys.conf, "save", {
}
}});

print('\nStarting Mongoose IoT - see documentation at',
print('\nMongoose IoT Firmware - see documentation at',
'https://cesanta.com/developer/fw',
'\n==> Sys:\n', Sys, '\n');

Expand Down
2 changes: 1 addition & 1 deletion fw/src/sj_prompt.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static void show_prompt(void) {
*/

/* TODO RTOS(alashkin): RTOS printf doesn't support %lu */
printf("fw %u/%d$ ", (unsigned int) sj_get_free_heap_size(),
printf("[%u/%d] $ ", (unsigned int) sj_get_free_heap_size(),
(int) v7_heap_stat(s_sjp.v7, V7_HEAP_STAT_HEAP_SIZE) -
(int) v7_heap_stat(s_sjp.v7, V7_HEAP_STAT_HEAP_USED));

Expand Down

0 comments on commit 06cbd17

Please sign in to comment.