Skip to content

Commit

Permalink
Merge pull request #214 from krkeegan/insteon_debug4
Browse files Browse the repository at this point in the history
Insteon: Dont Just Decode the First Message
  • Loading branch information
krkeegan committed Jun 8, 2013
2 parents d72055d + 58051a7 commit a70cfc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Insteon_PLM.pm
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ sub _parse_data {
{
#ignore blanks.. the split does odd things
next if $parsed_data eq '';
&::print_log( "[Insteon_PLM] DEBUG4:\n".Insteon::MessageDecoder::plm_decode($data)) if $main::Debug{insteon} >= 4;
&::print_log( "[Insteon_PLM] DEBUG4:\n".Insteon::MessageDecoder::plm_decode($parsed_data)) if $main::Debug{insteon} >= 4;
if ($previous_parsed_data eq $parsed_data){
# guard against repeats
::print_log("[Insteon_PLM] DEBUG3: Dropped duplicate message: $parsed_data") if $main::Debug{insteon} >= 3;
Expand Down

0 comments on commit a70cfc9

Please sign in to comment.