mirror of
https://github.com/mon/PocketVoltex.git
synced 2026-10-11 16:48:21 +03:00
Cleanups and memory improvements
This commit is contained in:
@@ -33,7 +33,7 @@ void InitConfig(void) {
|
||||
sdvxConfig.version = FIRMWARE_VERSION;
|
||||
}
|
||||
|
||||
void SetConfig(uint8_t* config) {
|
||||
void SetConfig(sdvx_config_t* config) {
|
||||
memcpy(&sdvxConfig, config, sizeof(sdvx_config_t));
|
||||
// Version is set in firmware, not software
|
||||
sdvxConfig.version = FIRMWARE_VERSION;
|
||||
|
||||
Reference in New Issue
Block a user