summaryrefslogtreecommitdiff
path: root/include/stick10_commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stick10_commands.h')
-rw-r--r--include/stick10_commands.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/stick10_commands.h b/include/stick10_commands.h
index b7f6de0..d15ee73 100644
--- a/include/stick10_commands.h
+++ b/include/stick10_commands.h
@@ -507,15 +507,6 @@ class WriteGeneralConfig : Command<CommandID::WRITE_CONFIG> {
CommandTransaction;
};
-// struct clear_on_const {
-// clear_on_const(){
-// initialize();
-// }
-// void initialize(){
-// bzero(this, sizeof(*this));
-// }
-// };
-
class FirstAuthenticate : Command<CommandID::FIRST_AUTHENTICATE> {
public:
struct CommandPayload {
@@ -523,7 +514,6 @@ class FirstAuthenticate : Command<CommandID::FIRST_AUTHENTICATE> {
uint8_t temporary_password[25];
bool isValid() const { return true; }
- void initialize(){ bzero(this, sizeof(*this)); }
std::string dissect() const {
std::stringstream ss;
@@ -556,8 +546,6 @@ class Authorize : Command<CommandID::AUTHORIZE> {
uint32_t crc_to_authorize;
uint8_t temporary_password[25];
- void initialize(){ bzero(this, sizeof(*this)); }
-
std::string dissect() const {
std::stringstream ss;
ss << " crc_to_authorize:\t" << std::hex << std::setw(2) << std::setfill('0') << crc_to_authorize<< std::endl;