diff --git a/loader.js b/loader.js index 77174a24c..3134eeff7 100644 --- a/loader.js +++ b/loader.js @@ -22,9 +22,15 @@ var RECOMMENDED_VERSION = "2v08"; })(); function onFoundDeviceInfo(deviceId, deviceVersion) { - if (deviceId != "BANGLEJS") { + if (deviceId != "BANGLEJS" && deviceId != "BANGLEJS2") { showToast(`You're using ${deviceId}, not a Bangle.js. Did you want espruino.com/apps instead?` ,"warning", 20000); } else if (versionLess(deviceVersion, RECOMMENDED_VERSION)) { showToast(`You're using an old Bangle.js firmware (${deviceVersion}). You can update with the instructions here` ,"warning", 20000); } + if (deviceId == "BANGLEJS") { + Const.MESSAGE_RELOAD = 'Hold BTN3\nto reload'; + } + if (deviceId == "BANGLEJS2") { + Const.MESSAGE_RELOAD = 'Hold Button\nto reload'; + } }