File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ void jshKickSoftWatchDog() {
2121
2222// XXX: do we need this, for our app?
2323uint64_t ejs_get_microseconds () {
24- return (uint64_t )0 ;
24+ return (uint64_t ) ( eadk_timing_millis () * 1000 ) ;
2525}
2626
2727// TODO: do we need this, for our app?
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ uint32_t extapp_address() {
231231 return * (uint32_t * )((* extapp_userlandAddress ()) + 0xC );
232232}
233233
234- const uint32_t extapp_size () {
234+ uint32_t extapp_size () {
235235 return * (uint32_t * )((* extapp_userlandAddress ()) + 0x10 );
236236}
237237
@@ -262,7 +262,7 @@ const uint32_t * extapp_nextFree() {
262262 return (uint32_t * )endAddress ;
263263}
264264
265- const uint32_t extapp_used () {
265+ uint32_t extapp_used () {
266266 return (uint32_t )extapp_nextFree () - extapp_address ();
267267}
268268
@@ -271,7 +271,7 @@ bool extapp_isValid(const uint32_t * address) {
271271 return * address == reverse32 (0xBADD0BEE );
272272}
273273
274- const uint8_t extapp_calculatorModel () {
274+ uint8_t extapp_calculatorModel () {
275275 // To guess the storage size without reading forbidden addresses, we try to
276276 // get the storage address from the userland header
277277
You can’t perform that action at this time.
0 commit comments