We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c8b4e4 commit e1cd986Copy full SHA for e1cd986
system/src/system_cloud_internal.cpp
@@ -1121,6 +1121,8 @@ CloudDiagnostics* CloudDiagnostics::instance() {
1121
1122
namespace particle {
1123
1124
+#ifndef SPARK_NO_CLOUD
1125
+
1126
bool publishKeepaliveInterval(unsigned interval) {
1127
if (!interval) {
1128
// Get the current interval
@@ -1138,4 +1140,6 @@ bool publishKeepaliveInterval(unsigned interval) {
1138
1140
return publishEvent(KEEPALIVE_INTERVAL_EVENT, buf);
1139
1141
}
1142
1143
+#endif // !defined(SPARK_NO_CLOUD)
1144
1145
} // particle
0 commit comments