# HG changeset patch # User matthewreed # Date 2017-07-20 14:23:43 # Node ID 10c03b9c67e6418d9e33a7034b45f89e99f35650 # Parent d429d5902330398e0a309c2bbd8cf6b881cb3523 Added protocol save settings function diff --git a/src/protocol.c b/src/protocol.c --- a/src/protocol.c +++ b/src/protocol.c @@ -17,6 +17,11 @@ flash_settings_t* protocol_get_settings( return &protocol_settings; } +void protocol_save_settings(void) +{ + flash_save(&protocol_settings); +} + bool protocol_send_test() { bool result = true;