Simplified button stuff

This commit is contained in:
Aurora
2016-03-24 16:02:00 +01:00
parent 85a59264c9
commit c413b6d07f
4 changed files with 14 additions and 20 deletions

View File

@@ -9,7 +9,7 @@ static u32 loadPayload(const char *path){
unsigned int br;
if(f_open(&payload, path, FA_READ) == FR_OK)
{
f_read(&payload, (void*)PAYLOAD_ADDRESS, f_size(&payload), &br);
f_read(&payload, (void *)PAYLOAD_ADDRESS, f_size(&payload), &br);
f_close(&payload);
return 1;