/* generic firmware-functions for HomeMatic
*
- * Copyright (c) 2014 Michael Gernoth <michael@gernoth.net>
+ * Copyright (c) 2014-16 Michael Gernoth <michael@gernoth.net>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
#include "firmware.h"
/* This might be wrong, but it works for current fw */
-#define MAX_BLOCK_LENGTH 512
+#define MAX_BLOCK_LENGTH 2048
struct firmware* firmware_read_firmware(char *filename, int debug)
{