Skip to content

Commit 06cbd17

Browse files
Deomid Ryabkovrojer
authored andcommitted
Change prompt format
Add "Firmware" to "Mongoose IoT" ina couple places. PUBLISHED_FROM=a0355c45e2ca4db2d2868f0a0f2659c03dac9985
1 parent 8865c72 commit 06cbd17

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

fw/src/js/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
print('\r\nThis is Mongoose IoT ' + Sys.ro_vars.fw_version + ' (' + Sys.ro_vars.arch + ')\r\n');
1+
print('\r\nThis is Mongoose IoT Firmware ' + Sys.ro_vars.fw_version + ' (' + Sys.ro_vars.arch + ')\r\n');
22
print('Below you should see a JS prompt, feel free to play with it.');
33
print('sendRandomData() will send some random data to the cloud.');
44

fw/src/js/sys_init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Object.defineProperty(Sys.conf, "save", {
7979
}
8080
}});
8181

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

fw/src/sj_prompt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static void show_prompt(void) {
4040
*/
4141

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

0 commit comments

Comments
 (0)