{"action":"created","issue":{"url":"https://api.github.com/repos/espruino/Espruino/issues/482","labels_url":"https://api.github.com/repos/espruino/Espruino/issues/482/labels{/name}","comments_url":"https://api.github.com/repos/espruino/Espruino/issues/482/comments","events_url":"https://api.github.com/repos/espruino/Espruino/issues/482/events","html_url":"https://github.com/espruino/Espruino/issues/482","id":55143975,"number":482,"title":"Add 'device flags' functions","user":{"login":"gfwilliams","id":754445,"avatar_url":"https://avatars.githubusercontent.com/u/754445?v=3","gravatar_id":"","url":"https://api.github.com/users/gfwilliams","html_url":"https://github.com/gfwilliams","followers_url":"https://api.github.com/users/gfwilliams/followers","following_url":"https://api.github.com/users/gfwilliams/following{/other_user}","gists_url":"https://api.github.com/users/gfwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/gfwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfwilliams/subscriptions","organizations_url":"https://api.github.com/users/gfwilliams/orgs","repos_url":"https://api.github.com/users/gfwilliams/repos","events_url":"https://api.github.com/users/gfwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/gfwilliams/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-22T11:46:28Z","updated_at":"2015-11-26T18:51:01Z","closed_at":"2015-11-26T18:51:01Z","body":"There are some low-level things it'd be great if Espruino was aware of as soon as it started up:\r\n\r\n* Skip trying to start the low speed external oscillator\r\n* Skip the delay on startup (usually done so that USB is connected by the time the program tries to write to it).\r\n* Probably some other stuff too? \r\n\r\nThese could be stored in a variable in the root scope, and checked as soon as the data was loaded, but before the interpreter actually started. Or perhaps even at a lower level they could just be a 32 bit value stored after all the program code in flash?"},"comment":{"url":"https://api.github.com/repos/espruino/Espruino/issues/comments/159976635","html_url":"https://github.com/espruino/Espruino/issues/482#issuecomment-159976635","issue_url":"https://api.github.com/repos/espruino/Espruino/issues/482","id":159976635,"user":{"login":"gfwilliams","id":754445,"avatar_url":"https://avatars.githubusercontent.com/u/754445?v=3","gravatar_id":"","url":"https://api.github.com/users/gfwilliams","html_url":"https://github.com/gfwilliams","followers_url":"https://api.github.com/users/gfwilliams/followers","following_url":"https://api.github.com/users/gfwilliams/following{/other_user}","gists_url":"https://api.github.com/users/gfwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/gfwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfwilliams/subscriptions","organizations_url":"https://api.github.com/users/gfwilliams/orgs","repos_url":"https://api.github.com/users/gfwilliams/repos","events_url":"https://api.github.com/users/gfwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/gfwilliams/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T18:51:01Z","updated_at":"2015-11-26T18:51:01Z","body":"Probably not such a big deal now. closing."}}