Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 months agoInfallible Codelemmy.mlimagemessage-square92fedilinkarrow-up1341arrow-down116
arrow-up1325arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 months agomessage-square92fedilink
minus-squareCroquette@sh.itjust.workslinkfedilinkarrow-up6·2 months agoI am working with C in embedded designs and I still use 1 or 0 for a bool certain situations, mostly lines level. For whatever pea-brained reason, it feels yucky to me to set a gpio to true/false instead of a 1/0.
I am working with C in embedded designs and I still use 1 or 0 for a bool certain situations, mostly lines level.
For whatever pea-brained reason, it feels yucky to me to set a gpio to true/false instead of a 1/0.