Skip to content

Commit

Permalink
delete %
Browse files Browse the repository at this point in the history
Co-authored-by: H1rono_K <[email protected]>
  • Loading branch information
23-saho and H1rono authored Jul 26, 2024
1 parent 60e628f commit c82b48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device/pi_led/pi_led/pi_led.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def led_callback(self, light: LedColor):
self.led_light(self.led_g, light.green)
self.led_light(self.led_b, light.blue)
self.get_logger().info(
'R is "%d",G is "%d",B is "%d"' % (self.led_r, self.led_g, self.led_b)
f'R is "{int(light.red)}",G is "{int(light.green)}",B is "{int(light.blue)}"'
)

def led_light(self, led, light):
Expand Down

0 comments on commit c82b48f

Please sign in to comment.