Skip to content

Commit dd607e1

Browse files
committed
Bumped to v1.0.3. Extended endOfPacket timeout to 1000 bytes-worth of time.
1 parent 926e849 commit dd607e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ function generateLoaderPacket(loaderType, packetId, clockSpeed, clockMode) {
828828
fBitTime.setUint32(0, Math.round(clockSpeed / finalBaudrate), true); //Final Bit Time (baudrate in clock cycles)
829829
bitTime1_5.setUint32(0, Math.round(((1.5 * clockSpeed) / finalBaudrate) - maxRxSenseError), true); //1.5x Final Bit Time minus maximum start bit sense error
830830
failsafe.setUint32(0, 2 * Math.trunc(clockSpeed / (3 * 4)), true); //Failsafe Timeout (seconds-worth of Loader's Receive loop iterations)
831-
endOfPacket.setUint32(0, Math.round(500 * clockSpeed / finalBaudrate * 10 / 12), true); //EndOfPacket Timeout (500 bytes worth of Loader's Receive loop iterations)
831+
endOfPacket.setUint32(0, Math.round(1000 * clockSpeed / finalBaudrate * 10 / 12), true); //EndOfPacket Timeout (1000 bytes worth of Loader's Receive loop iterations)
832832
sTime.setUint32(0, Math.max(Math.round(clockSpeed * 0.0000006), 14), true); //Minimum EEPROM Start/Stop Condition setup/hold time (400 KHz = 1/0.6 µS); Minimum 14 cycles}
833833
sclHighTime.setUint32(0, Math.max(Math.round(clockSpeed * 0.0000006), 14), true); //Minimum EEPROM SCL high time (400 KHz = 1/0.6 µS); Minimum 14 cycles
834834
sclLowTime.setUint32(0, Math.max(Math.round(clockSpeed * 0.0000013), 14), true); //Minimum EEPROM SCL low time (400 KHz = 1/1.3 µS); Minimum 26 cycles

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "BlocklyProp Launcher",
33
"description": "A Chrome application that connects your Propeller-Powered Hardware to the BlocklyProp website.",
4-
"version": "1.0.1",
4+
"version": "1.0.3",
55
"manifest_version": 2,
66
"minimum_chrome_version": "45",
77

0 commit comments

Comments
 (0)