- local errors = {
- 0x01 : "The command is not supported",
- 0x02 : "The command is not recognised",
- 0x03 : "The option is not supported.",
- 0x0f : "Unknown error.",
- 0x10 : "The specified block is not available (doesn’t exist).",
- 0x11 : "The specified block is already -locked and thus cannot be locked again",
- 0x12 : "The specified block is locked and its content cannot be changed.",
- 0x13 : "The specified block was not successfully programmed.",
- 0x14 : "The specified block was not successfully locked.",
- }
+ local errors = {}
+ errors[0x01] = "The command is not supported"
+ errors[0x02] = "The command is not recognised"
+ errors[0x03] = "The option is not supported."
+ errors[0x0f] = "Unknown error."
+ errors[0x10] = "The specified block is not available (doesn’t exist)."
+ errors[0x11] = "The specified block is already -locked and thus cannot be locked again"
+ errors[0x12] = "The specified block is locked and its content cannot be changed."
+ errors[0x13] = "The specified block was not successfully programmed."
+ errors[0x14] = "The specified block was not successfully locked."
+