We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee7ae97 commit be296b6Copy full SHA for be296b6
m4/src/UserIOHandler.h
@@ -28,9 +28,9 @@ struct UserIOHandler {
28
29
static OperationResult getFirmwareVersion() {
30
#ifdef __FIRMWARE_VERSION_STRING__
31
- return OperationResult::Success(__FIRMWARE_VERSION_STRING__);
+ return OperationResult::Success(STRINGIZE_VALUE_OF(__FIRMWARE_VERSION_STRING__));
32
#endif
33
- return OperationResult::Success(STRINGIZE_VALUE_OF(__FIRMWARE_VERSION__));
+ return OperationResult::Success(String("Commit Hash: ") + STRINGIZE_VALUE_OF(__FIRMWARE_VERSION__));
34
}
35
36
static OperationResult nop() { return OperationResult::Success("NOP"); }
0 commit comments